diff options
| author | William Ahern <[email protected]> | 2016-02-24 14:20:47 -0800 |
|---|---|---|
| committer | William Ahern <[email protected]> | 2016-02-24 14:20:47 -0800 |
| commit | 86c12d143a32ffa0bb86c30c5946cd95634ed905 (patch) | |
| tree | d5a37810fcd92d7aebe54e3b7570314448a77dc3 | |
| parent | 6dac97127bb5d19e1626ccd8a18b1c1130b1e5db (diff) | |
update Makefile clean targets
| -rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -88,7 +88,9 @@ bench-%.so: bench-%.c timeout.h $(LUA) bench-expire.lua $< > [email protected] mv [email protected] $@ -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 > [email protected] mv [email protected] $@ @@ -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) *~ |
