소스 검색

Make test script optional

master
JustAnotherArchivist 1 년 전
부모
커밋
512ced5ebd
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      .make-and-exec-Makefile

+ 2
- 2
.make-and-exec-Makefile 파일 보기

@@ -1,4 +1,4 @@
.make-and-exec-binaries/%: %.c .%-test
.make-and-exec-binaries/%: %.c
mkdir -p .make-and-exec-binaries
$(CC) -O3 -o $@ $< $(CFLAGS)
./.$(notdir $(@))-test
[ -f ./.$(notdir $(@))-test ] && ./.$(notdir $(@))-test

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