FloatImg/Fonderie/Makefile

43 lines
993 B
Makefile
Raw Normal View History

2020-11-07 01:29:45 +01:00
#
# compilation de la fonderie
#
2020-11-02 01:25:00 +01:00
2020-11-05 21:07:38 +01:00
COPT = -g -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses
2020-11-10 14:10:55 +01:00
LIBS = ../libfloatimg.a -lpnglite -lm
2020-11-10 03:58:18 +01:00
OBJS = fonctions.o sfx.o crapulator.o glitches.o metriques.o
DEPS = fonctions.h crapulator.h metriques.h glitches.h
2020-11-02 01:25:00 +01:00
2020-11-10 00:50:25 +01:00
all: fonderie interpolator
# ---------------------------------------------------------
2020-11-05 18:17:14 +01:00
fonderie: fonderie.c ${DEPS} ${OBJS} Makefile
2020-11-09 18:32:29 +01:00
gcc ${COPT} $< ${OBJS} ${LIBS} -lz -o $@
2020-11-02 01:25:00 +01:00
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-07 01:29:45 +01:00
fonctions.o: fonctions.c fonctions.h 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 $<
# ---------------------------------------------------------
#
2020-11-10 00:50:25 +01:00
# another way to brotch some pics...
#
2020-11-02 01:25:00 +01:00
2020-11-10 14:10:55 +01:00
metriques.o: metriques.c metriques.h Makefile
2020-11-10 03:58:18 +01:00
gcc ${COPT} -c $<
2020-11-10 13:59:25 +01:00
glitches.o: glitches.c glitches.h Makefile
2020-11-10 03:58:18 +01:00
gcc ${COPT} -c $<
interpolator: interpolator.c ${OBJS} Makefile
2020-11-10 00:50:25 +01:00
gcc ${COPT} $< ${OBJS} ${LIBS} -lz -o $@
2020-11-02 01:25:00 +01:00
# ---------------------------------------------------------