diff --git a/test/Makefile b/test/Makefile index 648f6ed..2ae1d7e 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,8 +1,9 @@ CFLAGS=-Wall -I../src -LDFLAGS=-latf-c ../src/librk65c02.a +LDFLAGS=-latf-c +RK6502LIB=../src/librk65c02.a test_bus : test_bus.o - $(CC) -o test_bus $(LDFLAGS) $< + $(CC) -o test_bus $(LDFLAGS) $< $(RK6502LIB) %.o : %.c $(CC) $(CFLAGS) -c $<