Selaa lähdekoodia

Updated Makefile to print a Tree

master
Nathan R 3 vuotta sitten
vanhempi
commit
5575293069
1 muutettua tiedostoa jossa 7 lisäystä ja 1 poistoa
  1. +7
    -1
      Makefile

+ 7
- 1
Makefile Näytä tiedosto

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

Ladataan…
Peruuta
Tallenna