X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2FMakefile;h=7d1d6efad02f7cffab871472b992e38e3f26deba;hb=4d7fdf03d6fc476d7f591c9f8e5c41ebe6c06176;hp=3707d81f1f5cd054ffbfa73ccf5363ef1a4fbb4d;hpb=a7c52a5cdad0b1a4c4e053992858674e8d7953a7;p=ypp-sc-tools.db-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