|
@ -11,6 +11,10 @@ tree : all .FORCE |
|
|
test : all .FORCE |
|
|
test : all .FORCE |
|
|
./dotest |
|
|
./dotest |
|
|
|
|
|
|
|
|
|
|
|
debug : all .FORCE |
|
|
|
|
|
./$(MAIN) < debug.c > debug.out |
|
|
|
|
|
#diff debug.out debug.c |
|
|
|
|
|
|
|
|
$(MAIN) : $(MAIN).c object.c buffer.h |
|
|
$(MAIN) : $(MAIN).c object.c buffer.h |
|
|
$(CC) $(CFLAGS) -o $@ $@.c $(LDLIBS) |
|
|
$(CC) $(CFLAGS) -o $@ $@.c $(LDLIBS) |
|
|
|
|
|
|
|
@ -26,6 +30,9 @@ clean : .FORCE |
|
|
tidy : .FORCE |
|
|
tidy : .FORCE |
|
|
rm -f *~ $(MAIN)-tree.out |
|
|
rm -f *~ $(MAIN)-tree.out |
|
|
|
|
|
|
|
|
spotless : clean tidy |
|
|
|
|
|
|
|
|
cleansed : .FORCE |
|
|
|
|
|
rm -f debug.out |
|
|
|
|
|
|
|
|
|
|
|
spotless : clean tidy cleansed |
|
|
|
|
|
|
|
|
.FORCE : |
|
|
.FORCE : |