chiark / gitweb /
page with the mouse to avoid the silly page-back-to-top effect
[ypp-sc-tools.main.git] / pctb / Makefile
index d99bb253576d88ea3026e67091a84401aa4c894d..8223583a4cbc8fe8aff377be57eedbf51c18bfea 100644 (file)
@@ -37,16 +37,19 @@ 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 *.o core core.* *~ vgcore.*
-       rm -f t t.* u u.* v v.* *.tmp
+       rm -f t t.* u u.* v v.* *.tmp *.orig *.rej
 
 realclean: clean
        rm -f $(TARGETS)
+       rm -f raw.tsv
+       rm -f _pages.ppm _upload-*.html _commodmap.tsv
+       rm -f _master-*.txt _local-*.txt
        rm -f ./#pages#.ppm ./#upload-*#.html ./#commodmap#.tsv
-       rm -f ./#master-*#.txt ./#local-*#.txt
+       rm -f ./#master-*#.txt ./#local-*#.txt raw.tsv