diff options
author | Freya Murphy <freya@freyacat.org> | 2024-09-20 20:46:37 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-09-20 21:02:38 -0400 |
commit | 3b0a87254f8a1e48a155f5571c274297353a0106 (patch) | |
tree | 8aab94632c01c50e4adafc8a4d062902d5cdfe4e /test/Makefile | |
parent | remove test file (diff) | |
download | mips-3b0a87254f8a1e48a155f5571c274297353a0106.tar.gz mips-3b0a87254f8a1e48a155f5571c274297353a0106.tar.bz2 mips-3b0a87254f8a1e48a155f5571c274297353a0106.zip |
start mld, add loading of object files, add fuzzing support
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 20 |
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) |