소스 검색

updated makefile to debug more easily

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

+ 8
- 1
Makefile 파일 보기

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

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