chiark / gitweb /
Much faster
[ypp-sc-tools.web-live.git] / pctb / Makefile
index bff47f5bd2f818d95bed640ba42229c6400625c4..55f4d53bcb7002d7c6245aef61fb5cba2ef4059e 100644 (file)
@@ -1,5 +1,11 @@
-LDLIBS += -lnetpbm
 CFLAGS += -Wall -Wwrite-strings -Wpointer-arith -Wmissing-prototypes \
 CFLAGS += -Wall -Wwrite-strings -Wpointer-arith -Wmissing-prototypes \
-       -Wstrict-prototypes
+       -Wstrict-prototypes -Werror -g
 
 
-all: convert
+all: convert x-manip-window
+
+CONVERT_OBJS= convert.o ocr.o pages.o
+
+convert: $(CONVERT_OBJS) -lnetpbm -lXtst -lX11
+$(CONVERT_OBJS): ocr.h
+
+x-manip-window: -lXtst -lX11