Fixed Makefile
Modification de la place des arguments de bibliothèque. Les liens peuvent donc être effectués à partir de libcatwalk.
This commit is contained in:
parent
3c3ddb6291
commit
a3295272f0
4
Makefile
4
Makefile
@ -1,12 +1,12 @@
|
||||
CC = gcc
|
||||
FLAGS = -Wall -g
|
||||
LFLAGS = -lcatwalk
|
||||
LFLAGS = -L/usr/local/lib/ -lcatwalk
|
||||
|
||||
all: bin/catwalk
|
||||
|
||||
bin/catwalk: obj/main.o obj/interact.o obj/print.o obj/simplegen.o
|
||||
@mkdir -p $(@D)
|
||||
$(CC) $(FLAGS) -o $@ $(LFLAGS) $^
|
||||
$(CC) $(FLAGS) -o $@ $^ $(LFLAGS)
|
||||
|
||||
obj/%.o: src/%.c
|
||||
@mkdir -p $(@D)
|
||||
|
Loading…
Reference in New Issue
Block a user