Commit 86c12d14 authored by William Ahern's avatar William Ahern

update Makefile clean targets

parent 6dac9712
......@@ -88,7 +88,9 @@ bench-%.so: bench-%.c timeout.h
$(LUA) bench-expire.lua $< > $@.tmp
mv $@.tmp $@
bench.eps: bench.plt $(foreach OP, add del expire, wheel-$(OP).dat heap-$(OP).dat)
DATS = $(foreach OP, add del expire, wheel-$(OP).dat heap-$(OP).dat)
bench.eps: bench.plt $(DATS)
gnuplot bench.plt > $@.tmp
mv $@.tmp $@
......@@ -98,7 +100,11 @@ bench.pdf: bench.eps
.PHONY: clean clean~
clean:
$(RM) -r timeout timeout8 timeout16 timeout32 timeout64 *.dSYM *.so *.dat *.eps
$(RM) timeout timeout8 timeout16 timeout32 timeout64
$(RM) test-timeout *.o
$(RM) bench.so bench-*.so
$(RM) -r *.dSYM
$(RM) $(DATS) bench.eps bench.pdf
clean~: clean
$(RM) *~
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment