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
|
CC = gcc
|
||||||
FLAGS = -Wall -g
|
FLAGS = -Wall -g
|
||||||
LFLAGS = -lcatwalk
|
LFLAGS = -L/usr/local/lib/ -lcatwalk
|
||||||
|
|
||||||
all: bin/catwalk
|
all: bin/catwalk
|
||||||
|
|
||||||
bin/catwalk: obj/main.o obj/interact.o obj/print.o obj/simplegen.o
|
bin/catwalk: obj/main.o obj/interact.o obj/print.o obj/simplegen.o
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
$(CC) $(FLAGS) -o $@ $(LFLAGS) $^
|
$(CC) $(FLAGS) -o $@ $^ $(LFLAGS)
|
||||||
|
|
||||||
obj/%.o: src/%.c
|
obj/%.o: src/%.c
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
|
Loading…
Reference in New Issue
Block a user