chiark / gitweb /
Check we're on the right page
[ypp-sc-tools.web-live.git] / pctb / Makefile
index 3707d81f1f5cd054ffbfa73ccf5363ef1a4fbb4d..55f4d53bcb7002d7c6245aef61fb5cba2ef4059e 100644 (file)
@@ -1,9 +1,11 @@
-LDLIBS += -lnetpbm
 CFLAGS += -Wall -Wwrite-strings -Wpointer-arith -Wmissing-prototypes \
        -Wstrict-prototypes -Werror -g
 
-all: convert
+all: convert x-manip-window
 
-convert: convert.o ocr.o
+CONVERT_OBJS= convert.o ocr.o pages.o
 
-convert.o ocr.o: ocr.h
+convert: $(CONVERT_OBJS) -lnetpbm -lXtst -lX11
+$(CONVERT_OBJS): ocr.h
+
+x-manip-window: -lXtst -lX11