X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2FMakefile;h=e458c6b20a73090548c47bca3c0cd2cd2cbb3893;hb=61af4264a82272a9a41f068cdee6c9fa261e699c;hp=f798e52aa0e05540b08c2d2e5b8247687fe460eb;hpb=4c375a59891a4161e30bd67709a1ad5d1950a850;p=ypp-sc-tools.web-live.git diff --git a/pctb/Makefile b/pctb/Makefile index f798e52..e458c6b 100644 --- a/pctb/Makefile +++ b/pctb/Makefile @@ -37,10 +37,16 @@ all: $(TARGETS) CONVERT_OBJS= convert.o ocr.o pages.o structure.o common.o rgbimage.o resolve.o -ypp-commodities: $(CONVERT_OBJS) -lnetpbm -lXtst -lX11 +ypp-commodities: $(CONVERT_OBJS) -lnetpbm -lXtst -lX11 -lpcre -lm $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) $(CONVERT_OBJS): ocr.h convert.h structure.h common.h clean: - rm -f $(TARGETS) *.o core core.* *~ t t.* u u.* ./#pages#.ppm + rm -f *.o core core.* *~ vgcore.* + rm -f t t.* u u.* v v.* *.tmp *.orig *.rej + +realclean: clean + rm -f $(TARGETS) + rm -f ./#pages#.ppm ./#upload-*#.html ./#commodmap#.tsv + rm -f ./#master-*#.txt ./#local-*#.txt raw.tsv