1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-24 14:31:36 +00:00
rk65c02/test/Makefile

21 lines
348 B
Makefile
Raw Normal View History

CFLAGS=-Wall -I../src -g
LDFLAGS=-latf-c
RK6502LIB=../src/librk65c02.a
TESTS=test_bus test_emulation
2017-01-16 21:54:51 +00:00
all : $(TESTS)
test_bus : test_bus.o
$(CC) -o test_bus $(LDFLAGS) $< $(RK6502LIB)
2017-01-16 21:54:51 +00:00
test_emulation : test_emulation.o
$(CC) -o test_emulation $(LDFLAGS) $< $(RK6502LIB)
2017-01-16 21:54:51 +00:00
%.o : %.c
$(CC) $(CFLAGS) -c $<
clean :
rm -f *.o
rm -f $(TESTS)
2017-01-16 21:54:51 +00:00