diff --git a/Makefile b/Makefile index b742c44..4f178cb 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,9 @@ MAIN = ccmeta all : $(MAIN) +tree : all .FORCE + ./$(MAIN) < $(MAIN)-tree.txt > $(MAIN)-tree.out + test : all .FORCE ./$(MAIN) < $(MAIN)-test.txt > $(MAIN)-test.out diff $(MAIN)-test.ref $(MAIN)-test.out @@ -24,6 +27,9 @@ tidy : .FORCE clean : .FORCE rm -f $(MAIN) $(MAIN).c -spotless : clean tidy +Rtree : .FORCE + rm -f *~ $(MAIN)-tree.out + +spotless : clean tidy Rtree .FORCE :