X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2FMakefile;h=3a4fff3ba4221d5b97e612db67cc4060bd950b7f;hb=2f6ec1e7e5b3649a58ae20211eb18511550246ae;hp=10c0be9d7fa954b3e3f96d7c3b77e439ba4d7ac5;hpb=59acfe7ae6e8c81462dce00da5006166efb63d22;p=ypp-sc-tools.web-live.git diff --git a/pctb/Makefile b/pctb/Makefile index 10c0be9..3a4fff3 100644 --- a/pctb/Makefile +++ b/pctb/Makefile @@ -1,5 +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_OBJS= convert.o ocr.o pages.o + +convert: $(CONVERT_OBJS) -lnetpbm -lXpm -lXtst -lX11 +$(CONVERT_OBJS): ocr.h + +x-manip-window: -lXtst -lX11