X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=pctb%2FMakefile;h=6ebc48decfff7636e4dc52a6a3da01c2c22f8271;hp=85cd5792cdaac9bbd695c8482acdd1db270c869f;hb=065b523c45b707e7b4f49a9d976f901f8a6e9061;hpb=c2c039f07de178037bfbf12e4ee23c06f546de32 diff --git a/pctb/Makefile b/pctb/Makefile index 85cd579..6ebc48d 100644 --- a/pctb/Makefile +++ b/pctb/Makefile @@ -37,11 +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 -lpcre +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.* *~ vgcore.* - rm -f t t.* u u.* v v.* ./#pages#.ppm + rm -f *.o core core.* *~ vgcore.* + rm -f t t.* u u.* v v.* *.tmp + +realclean: clean + rm -f $(TARGETS) + rm -f ./#pages#.ppm ./#upload-*#.html ./#commodmap#.tsv + rm -f ./#master-*#.txt ./#local-*#.txt