FloatImg/Fonderie/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

2020-11-07 11:29:45 +11:00
#
2020-11-21 08:25:30 +11:00
# compilation de la fonderie, du crapulator
# et de tout le crap...
2020-11-07 11:29:45 +11:00
#
2020-11-02 11:25:00 +11:00
2020-11-26 00:38:39 +11:00
COPT = -g -fpic -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses
2020-11-11 00:10:55 +11:00
LIBS = ../libfloatimg.a -lpnglite -lm
2020-11-10 13:58:18 +11:00
OBJS = fonctions.o sfx.o crapulator.o glitches.o metriques.o
2020-12-03 05:55:06 +11:00
DEPS = fonctions.h crapulator.h metriques.h glitches.h sfx.h
2020-11-02 11:25:00 +11:00
2020-11-16 07:31:02 +11:00
all: fonderie interpolator t
# ---------------------------------------------------------
2020-12-01 23:10:27 +11:00
t: t.c Makefile glitches.o sfx.o
gcc ${COPT} $< glitches.o sfx.o ${LIBS} -lz -o $@
2020-11-10 10:50:25 +11:00
# ---------------------------------------------------------
2020-11-06 04:17:14 +11:00
fonderie: fonderie.c ${DEPS} ${OBJS} Makefile
2020-11-10 04:32:29 +11:00
gcc ${COPT} $< ${OBJS} ${LIBS} -lz -o $@
2020-11-02 11:25:00 +11:00
2020-11-06 04:17:14 +11:00
crapulator.o: crapulator.c ${DEPS} Makefile
2020-11-02 11:25:00 +11:00
gcc ${COPT} -c $<
2020-11-07 11:29:45 +11:00
fonctions.o: fonctions.c fonctions.h Makefile
2020-11-02 11:25:00 +11:00
gcc ${COPT} -c $<
2020-11-06 04:17:14 +11:00
sfx.o: sfx.c ${DEPS} Makefile
2020-11-02 11:25:00 +11:00
gcc ${COPT} -c $<
# ---------------------------------------------------------
#
2020-11-10 10:50:25 +11:00
# another way to brotch some pics...
#
2020-11-02 11:25:00 +11:00
2020-11-11 00:10:55 +11:00
metriques.o: metriques.c metriques.h Makefile
2020-11-10 13:58:18 +11:00
gcc ${COPT} -c $<
2020-11-10 23:59:25 +11:00
glitches.o: glitches.c glitches.h Makefile
2020-11-10 13:58:18 +11:00
gcc ${COPT} -c $<
2020-12-02 01:28:15 +11:00
interpolator: interpolator.c ${DEPS} ${OBJS} Makefile
2020-11-10 10:50:25 +11:00
gcc ${COPT} $< ${OBJS} ${LIBS} -lz -o $@
2020-11-02 11:25:00 +11:00
# ---------------------------------------------------------