Browse Source

Fix make exiting 1 if test script is missing

master
JustAnotherArchivist 1 year ago
parent
commit
dfc809abb4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .make-and-exec-Makefile

+ 1
- 1
.make-and-exec-Makefile View File

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

Loading…
Cancel
Save