summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-08-04 14:31:11 +1200
committerDavid Phillips <david@sighup.nz>2019-08-04 14:31:11 +1200
commit0e6f47211a0516cf2c96d2b9e89c0d841978c143 (patch)
tree10616e955a7be0f8ea92bdb35d72ec49566b5aaf /Makefile
parent4b1f9e2cb436e74ce6084dbc35df5f052cb701bf (diff)
downloadtoy-cpu-assembler-0e6f47211a0516cf2c96d2b9e89c0d841978c143.tar.xz
Add test recipe which skips valgrind
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e3cb8e5..86e8f6f 100644
--- a/Makefile
+++ b/Makefile
@@ -38,9 +38,12 @@ output/output_asm.o: output/output_asm.h parse.h util.h
# Intput modules
input/input_bin.o: input/input_bin.h parse.h
-.PHONY: clean test
+.PHONY: clean test test-quick
clean:
- rm -f $(EXECUTABLES) $(ASM_OBJECTS) $(DISASM_OBJECTS) $(ASMCAT_OBJECTS) $(BINCAT_OBJECTS)
test: all
make -C test test
+
+test-quick: all
+ make -C test test DISABLE_VALGRIND=1