Procházet zdrojové kódy

Make test script optional

master
JustAnotherArchivist před 1 rokem
rodič
revize
512ced5ebd
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      .make-and-exec-Makefile

+ 2
- 2
.make-and-exec-Makefile Zobrazit soubor

@@ -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

Načítá se…
Zrušit
Uložit