chiark / gitweb /
before do away with xpm
[ypp-sc-tools.db-live.git] / pctb / Makefile
index bff47f5..3a4fff3 100644 (file)
@@ -1,5 +1,11 @@
-LDLIBS += -lnetpbm
 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 -lXpm -lXtst -lX11
+$(CONVERT_OBJS): ocr.h
+
+x-manip-window: -lXtst -lX11