Ver a proveniência

Make test script optional

master
JustAnotherArchivist há 1 ano
ascendente
cometimento
512ced5ebd
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      .make-and-exec-Makefile

+ 2
- 2
.make-and-exec-Makefile Ver ficheiro

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

Carregando…
Cancelar
Guardar