chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not clean #pages#.ppm or $(TARGETS) unless "make realclean"
[ypp-sc-tools.web-live.git]
/
pctb
/
Makefile
diff --git
a/pctb/Makefile
b/pctb/Makefile
index 046493b03284b16cd492221d9dff4fec0adde0a7..9daeddb796d0ed2354ade4b21ef42d89ed1015f8 100644
(file)
--- a/
pctb/Makefile
+++ b/
pctb/Makefile
@@
-37,11
+37,14
@@
all: $(TARGETS)
CONVERT_OBJS= convert.o ocr.o pages.o structure.o common.o rgbimage.o resolve.o
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:
$(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.*
+
+realclean: clean
+ rm -f $(TARGETS) ./#pages#.ppm