22 lines
No EOL
287 B
Makefile
22 lines
No EOL
287 B
Makefile
|
|
CC = gcc
|
|
|
|
all: explink expdump emulator as
|
|
|
|
explink: explink.c
|
|
$(CC) -g -o bin/$@ $^
|
|
|
|
expdump: expdump.c mnemonics.c
|
|
$(CC) -g -o bin/$@ $^
|
|
|
|
emulator: emulator.c vm.c
|
|
$(CC) -g -o bin/$@ $^ -lSDL
|
|
|
|
as:
|
|
make -C as
|
|
|
|
test: exp
|
|
./exp -o test.exp $(ARGS)
|
|
hexdump -C test.exp
|
|
|
|
.PHONY: as |