ソースを参照

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

読み込み中…
キャンセル
保存