FloatImg/Fonderie/Makefile
2020-11-05 18:17:14 +01:00

29 lines
591 B
Makefile

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 ${DEPS} ${OBJS} Makefile
gcc ${COPT} $< ${OBJS} ${LIBS} -o $@
crapulator.o: crapulator.c ${DEPS} Makefile
gcc ${COPT} -c $<
fonctions.o: fonctions.c ${DEPS} Makefile
gcc ${COPT} -c $<
sfx.o: sfx.c ${DEPS} Makefile
gcc ${COPT} -c $<
# ---------------------------------------------------------
TOTAR = *.c *.h Makefile \
*.sh
# ---------------------------------------------------------