summaryrefslogtreecommitdiff
path: root/test/Makefile
blob: 1a97dd6a0daf30858c64808aa374321f5ab80c85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)