chiark / gitweb /
Much faster
[ypp-sc-tools.db-test.git] / pctb / Makefile
index 2cb3fad60670aef5745b334841fcf1ddd76ee3ff..55f4d53bcb7002d7c6245aef61fb5cba2ef4059e 100644 (file)
@@ -1,9 +1,11 @@
-LDLIBS += -lnetpbm
 CFLAGS += -Wall -Wwrite-strings -Wpointer-arith -Wmissing-prototypes \
-       -Wstrict-prototypes -g
+       -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