소스 검색

updated makefile to run all the tests

master
Nathan R 3 년 전
부모
커밋
85b2f7a8b3
1개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. +3
    -7
      Makefile

+ 3
- 7
Makefile 파일 보기

@ -9,8 +9,7 @@ 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
./dotest
$(MAIN) : $(MAIN).c object.c buffer.h
$(CC) $(CFLAGS) -o $@ $@.c $(LDLIBS)
@ -21,15 +20,12 @@ $(MAIN) : $(MAIN).c object.c buffer.h
leg $< > $@.new
mv $@.new $@
tidy : .FORCE
rm -f *~ $(MAIN)-test.out
clean : .FORCE
rm -f $(MAIN) $(MAIN).c
Rtree : .FORCE
tidy : .FORCE
rm -f *~ $(MAIN)-tree.out
spotless : clean tidy Rtree
spotless : clean tidy
.FORCE :

불러오는 중...
취소
저장