Explorar el Código

Make test script optional

master
JustAnotherArchivist hace 1 año
padre
commit
512ced5ebd
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      .make-and-exec-Makefile

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

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

Cargando…
Cancelar
Guardar