chiark / gitweb /
Correct bugs in new AA table cell structure parsing
[ypp-sc-tools.db-test.git] / pctb / Makefile
index 046493b03284b16cd492221d9dff4fec0adde0a7..af0901b1e682a7cafcab507c4343fe392befe34f 100644 (file)
@@ -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
+ypp-commodities: $(CONVERT_OBJS) -lnetpbm -lXtst -lX11 -lpcre
        $(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-*#.txt ./#commodmap#.tsv
+       rm -f ./#master-*#.txt ./#local-*#.txt