Bibliothèque de traitements d'images en virgule flottante.
http://la.buvette.org/photos/cumul/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
810 B
35 lines
810 B
# |
|
# compilation de la fonderie |
|
# |
|
|
|
COPT = -g -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses |
|
LIBS = -lfloatimg -lpnglite -lm |
|
OBJS = fonctions.o sfx.o crapulator.o |
|
DEPS = fonctions.h crapulator.h |
|
|
|
all: fonderie interpolator |
|
|
|
# --------------------------------------------------------- |
|
|
|
|
|
fonderie: fonderie.c ${DEPS} ${OBJS} Makefile |
|
gcc ${COPT} $< ${OBJS} ${LIBS} -lz -o $@ |
|
|
|
crapulator.o: crapulator.c ${DEPS} Makefile |
|
gcc ${COPT} -c $< |
|
|
|
fonctions.o: fonctions.c fonctions.h Makefile |
|
gcc ${COPT} -c $< |
|
|
|
sfx.o: sfx.c ${DEPS} Makefile |
|
gcc ${COPT} -c $< |
|
|
|
# --------------------------------------------------------- |
|
# |
|
# another way to brotch some pics... |
|
# |
|
|
|
interpolator: interpolator.c ${OBJS} Makefile |
|
gcc ${COPT} $< ${OBJS} ${LIBS} -lz -o $@ |
|
|
|
# ---------------------------------------------------------
|
|
|