X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=blobdiff_plain;f=pctb%2FMakefile;h=55f4d53bcb7002d7c6245aef61fb5cba2ef4059e;hp=2cb3fad60670aef5745b334841fcf1ddd76ee3ff;hb=5d58a08423953756871493042a9cfff032b66e18;hpb=ad09cd7cce6584c63c275d7ed1106e66959b3f9d diff --git a/pctb/Makefile b/pctb/Makefile index 2cb3fad..55f4d53 100644 --- a/pctb/Makefile +++ b/pctb/Makefile @@ -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