forked from tTh/FloatImg
29 lines
594 B
Makefile
29 lines
594 B
Makefile
|
|
||
|
|
||
|
COPT = -g -no-pie -Wall -O3 -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
|
||
|
gcc ${COPT} $< ${OBJS} ${LIBS} -o $@
|
||
|
|
||
|
crapulator.o: crapulator.c ${DEPS}
|
||
|
gcc ${COPT} -c $<
|
||
|
|
||
|
fonctions.o: fonctions.c fonctions.h Makefile
|
||
|
gcc ${COPT} -c $<
|
||
|
|
||
|
sfx.o: sfx.c fonctions.h Makefile
|
||
|
gcc ${COPT} -c $<
|
||
|
|
||
|
# ---------------------------------------------------------
|
||
|
|
||
|
TOTAR = *.c *.h Makefile \
|
||
|
*.sh
|
||
|
|
||
|
|
||
|
|
||
|
# ---------------------------------------------------------
|
||
|
|