Przeglądaj źródła

Fix make exiting 1 if test script is missing

master
JustAnotherArchivist 1 rok temu
rodzic
commit
dfc809abb4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      .make-and-exec-Makefile

+ 1
- 1
.make-and-exec-Makefile Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz