-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_OBJS= convert.o ocr.o pages.o
+
+convert: $(CONVERT_OBJS) -lnetpbm -lXpm -lXtst -lX11
+$(CONVERT_OBJS): ocr.h
+
+x-manip-window: -lXtst -lX11