summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-09-22 16:02:42 -0400
committerFreya Murphy <freya@freyacat.org>2024-09-22 16:02:42 -0400
commit85471efb4c740bb775c9ebdb10f775620c979598 (patch)
treec4afa5cf8108df4192e73488c4da271ed166217c /test/Makefile
parentupdate make clear (diff)
downloadmips-85471efb4c740bb775c9ebdb10f775620c979598.tar.gz
mips-85471efb4c740bb775c9ebdb10f775620c979598.tar.bz2
mips-85471efb4c740bb775c9ebdb10f775620c979598.zip
mld done
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/test/Makefile b/test/Makefile
index 1a97dd6..64f902d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -3,18 +3,15 @@ LD=afl-cc
BIN=../bin
-none:
+.PHONY: masm mld msim
-clean:
- rm -fr $(BIN)
-
-masm: clean
- make -C ../masm build CC=$(CC) LD=$(LD)
+masm:
+ make -C ../masm clean 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)
+mld:
+ make -C ../mld clean build CC=$(CC) LD=$(LD)
$(BIN)/mld/mld -o ./msim/test ./mld/test.o
-msim: clean
- make -C ../msim build CC=$(CC) LD=$(LD)
+msim:
+ make -C ../msim clean build CC=$(CC) LD=$(LD)