2020-11-02 01:25:00 +01:00
|
|
|
|
|
|
|
|
2020-11-05 18:17:14 +01:00
|
|
|
COPT = -g -pg -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses
|
2020-11-02 01:25:00 +01:00
|
|
|
LIBS = -lfloatimg -lpnglite -lm
|
|
|
|
OBJS = fonctions.o sfx.o crapulator.o
|
|
|
|
DEPS = fonctions.h crapulator.h
|
|
|
|
|
2020-11-05 18:17:14 +01:00
|
|
|
fonderie: fonderie.c ${DEPS} ${OBJS} Makefile
|
2020-11-02 01:25:00 +01:00
|
|
|
gcc ${COPT} $< ${OBJS} ${LIBS} -o $@
|
|
|
|
|
2020-11-05 18:17:14 +01:00
|
|
|
crapulator.o: crapulator.c ${DEPS} Makefile
|
2020-11-02 01:25:00 +01:00
|
|
|
gcc ${COPT} -c $<
|
|
|
|
|
2020-11-05 18:17:14 +01:00
|
|
|
fonctions.o: fonctions.c ${DEPS} Makefile
|
2020-11-02 01:25:00 +01:00
|
|
|
gcc ${COPT} -c $<
|
|
|
|
|
2020-11-05 18:17:14 +01:00
|
|
|
sfx.o: sfx.c ${DEPS} Makefile
|
2020-11-02 01:25:00 +01:00
|
|
|
gcc ${COPT} -c $<
|
|
|
|
|
|
|
|
# ---------------------------------------------------------
|
|
|
|
|
|
|
|
TOTAR = *.c *.h Makefile \
|
|
|
|
*.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------
|
|
|
|
|