1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-09-27 13:55:23 +00:00
rk65c02/test/Makefile
Radosław Kujawa 52ce9bff8c Preliminary support for emulation of instructions.
Some refactoring while here.
2017-01-18 17:18:19 +01:00

21 lines
348 B
Makefile

CFLAGS=-Wall -I../src -g
LDFLAGS=-latf-c
RK6502LIB=../src/librk65c02.a
TESTS=test_bus test_emulation
all : $(TESTS)
test_bus : test_bus.o
$(CC) -o test_bus $(LDFLAGS) $< $(RK6502LIB)
test_emulation : test_emulation.o
$(CC) -o test_emulation $(LDFLAGS) $< $(RK6502LIB)
%.o : %.c
$(CC) $(CFLAGS) -c $<
clean :
rm -f *.o
rm -f $(TESTS)