Browse Source

Updated Makefile to print a Tree

master
Nathan R 3 years ago
parent
commit
5575293069
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      Makefile

+ 7
- 1
Makefile View File

@ -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 :

Loading…
Cancel
Save