X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.main.git;a=blobdiff_plain;f=pctb%2FMakefile;h=7d1d6efad02f7cffab871472b992e38e3f26deba;hp=2cb3fad60670aef5745b334841fcf1ddd76ee3ff;hb=0826bbc65e59d47c270f05af419f24fdfc3c349c;hpb=ad09cd7cce6584c63c275d7ed1106e66959b3f9d diff --git a/pctb/Makefile b/pctb/Makefile index 2cb3fad..7d1d6ef 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 structure.o -convert.o ocr.o: ocr.h +convert: $(CONVERT_OBJS) -lnetpbm -lXtst -lX11 +$(CONVERT_OBJS): ocr.h convert.h structure.h + +x-manip-window: -lXtst -lX11