瀏覽代碼

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

Loading…
取消
儲存