X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2FMakefile;h=3a4fff3ba4221d5b97e612db67cc4060bd950b7f;hb=2f6ec1e7e5b3649a58ae20211eb18511550246ae;hp=3707d81f1f5cd054ffbfa73ccf5363ef1a4fbb4d;hpb=24222363faec9b4e3d7074af2df5f39933613c7f;p=ypp-sc-tools.db-live.git diff --git a/pctb/Makefile b/pctb/Makefile index 3707d81..3a4fff3 100644 --- a/pctb/Makefile +++ b/pctb/Makefile @@ -1,9 +1,11 @@ -LDLIBS += -lnetpbm CFLAGS += -Wall -Wwrite-strings -Wpointer-arith -Wmissing-prototypes \ -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 -lXpm -lXtst -lX11 +$(CONVERT_OBJS): ocr.h + +x-manip-window: -lXtst -lX11