mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-11 18:49:16 +00:00
When linking against static lib, the order matters.
This commit is contained in:
parent
a0821195c7
commit
5861d40352
@ -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 $<
|
||||
|
Loading…
Reference in New Issue
Block a user