summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 909b750..4365af7 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -7,9 +7,12 @@ src_files := $(wildcard *.tnsl)
obj_files := $(src_files:.tnsl=.o)
out_files := $(src_files:.tnsl=.out)
-.PHONY: all outdir clean
+.PHONY: all run outdir clean
all: outdir $(out_files)
+run: all
+ ./run.sh
+
%.asm: %.tnsl
@../ctc $< $(obj_dir)/$@