X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2FMakefile;h=7d1d6efad02f7cffab871472b992e38e3f26deba;hb=75979fe69d99518d9f79d45fb52eb76e05f58053;hp=3707d81f1f5cd054ffbfa73ccf5363ef1a4fbb4d;hpb=24222363faec9b4e3d7074af2df5f39933613c7f;p=ypp-sc-tools.web-live.git diff --git a/pctb/Makefile b/pctb/Makefile index 3707d81..7d1d6ef 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 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