summaryrefslogtreecommitdiff
path: root/test/Makefile
blob: fdc3eb3a597bf84778a75260a7fb4d6b0560c598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CC=afl-cc
LD=afl-cc

BIN=../bin

.PHONY: all masm mld msim

all: masm mld msim

masm:
	make -C ../masm clean build CC=$(CC) LD=$(LD)
	$(BIN)/masm/masm -o ./mld/test.o ./masm/test.asm

mld:
	make -C ../mld clean build CC=$(CC) LD=$(LD)
	$(BIN)/mld/mld -o ./msim/test ./mld/test.o

msim:
	make -C ../msim clean build CC=$(CC) LD=$(LD)