From a3295272f07294a11efd55eb15434feb5d8814ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Mogu=C3=A9rou?= Date: Wed, 27 Oct 2021 22:10:07 +0200 Subject: [PATCH] Fixed Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modification de la place des arguments de bibliothèque. Les liens peuvent donc être effectués à partir de libcatwalk. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 66d1277..2e52245 100644 --- a/Makefile +++ b/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)