From 014b1cc47a2693f9505c6660776bf523ea1a5925 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Thu, 5 Nov 2020 18:17:14 +0100 Subject: [PATCH] cleaning the Makefile --- Fonderie/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Fonderie/Makefile b/Fonderie/Makefile index 155459ac..3b951fe9 100644 --- a/Fonderie/Makefile +++ b/Fonderie/Makefile @@ -1,20 +1,20 @@ -COPT = -g -no-pie -Wall -O3 -DDEBUG_LEVEL=0 -Werror=parentheses +COPT = -g -pg -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses LIBS = -lfloatimg -lpnglite -lm OBJS = fonctions.o sfx.o crapulator.o DEPS = fonctions.h crapulator.h -fonderie: fonderie.c fonctions.h ${OBJS} Makefile +fonderie: fonderie.c ${DEPS} ${OBJS} Makefile gcc ${COPT} $< ${OBJS} ${LIBS} -o $@ -crapulator.o: crapulator.c ${DEPS} +crapulator.o: crapulator.c ${DEPS} Makefile gcc ${COPT} -c $< -fonctions.o: fonctions.c fonctions.h Makefile +fonctions.o: fonctions.c ${DEPS} Makefile gcc ${COPT} -c $< -sfx.o: sfx.c fonctions.h Makefile +sfx.o: sfx.c ${DEPS} Makefile gcc ${COPT} -c $< # ---------------------------------------------------------