Sfoglia il codice sorgente

Updated Makefile to print a Tree

master
Nathan R 3 anni fa
parent
commit
5575293069
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. +7
    -1
      Makefile

+ 7
- 1
Makefile Vedi 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 :

Caricamento…
Annulla
Salva