summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..1a97dd6
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,20 @@
+CC=afl-cc
+LD=afl-cc
+
+BIN=../bin
+
+none:
+
+clean:
+ rm -fr $(BIN)
+
+masm: clean
+ make -C ../masm build CC=$(CC) LD=$(LD)
+ $(BIN)/masm/masm -o ./mld/test.o ./masm/test.asm
+
+mld: clean
+ make -C ../mld build CC=$(CC) LD=$(LD)
+ $(BIN)/mld/mld -o ./msim/test ./mld/test.o
+
+msim: clean
+ make -C ../msim build CC=$(CC) LD=$(LD)