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