forked from tTh/FloatImg
Oups....
This commit is contained in:
parent
22a014b676
commit
47ec3c8ab5
|
@ -3,34 +3,37 @@
|
||||||
# use with caution
|
# use with caution
|
||||||
#
|
#
|
||||||
|
|
||||||
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1
|
COPT = -Wall -fpic -g -DDEBUG_LEVEL=0
|
||||||
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
|
|
||||||
all: fimg2pnm addtga2fimg mkfimg png2fimg fimgstats fimg2png \
|
all: fimg2pnm addtga2fimg mkfimg png2fimg fimgstats fimg2png \
|
||||||
addpnm2fimg
|
addpnm2fimg cumulfimgs
|
||||||
|
|
||||||
fimgstats: fimgstats.c $(DEPS)
|
fimgstats: fimgstats.c $(DEPS)
|
||||||
gcc -g $< ../libfloatimg.a -o $@
|
gcc $(COPT) $< ../libfloatimg.a -o $@
|
||||||
|
|
||||||
|
cumulfimgs: cumulfimgs.c $(DEPS)
|
||||||
|
gcc $(COPT) $< ../libfloatimg.a -o $@
|
||||||
|
|
||||||
mkfimg: mkfimg.c $(DEPS)
|
mkfimg: mkfimg.c $(DEPS)
|
||||||
gcc -g $< ../libfloatimg.a -o $@
|
gcc $(COPT) $< ../libfloatimg.a -o $@
|
||||||
|
|
||||||
fimg2pnm: fimg2pnm.c $(DEPS)
|
fimg2pnm: fimg2pnm.c $(DEPS)
|
||||||
gcc -g $< ../libfloatimg.a -o $@
|
gcc $(COPT) $< ../libfloatimg.a -o $@
|
||||||
|
|
||||||
fimg2png: fimg2png.c $(DEPS)
|
fimg2png: fimg2png.c $(DEPS)
|
||||||
gcc -g $< ../libfloatimg.a -o $@
|
gcc $(COPT) $< ../libfloatimg.a -o $@
|
||||||
|
|
||||||
addtga2fimg: addtga2fimg.c $(DEPS)
|
addtga2fimg: addtga2fimg.c $(DEPS)
|
||||||
gcc -g $< ../libfloatimg.a -limageSO -lm -o $@
|
gcc $(COPT) $< ../libfloatimg.a -limageSO -lm -o $@
|
||||||
|
|
||||||
addpnm2fimg: addpnm2fimg.c $(DEPS)
|
addpnm2fimg: addpnm2fimg.c $(DEPS)
|
||||||
gcc -g $< ../libfloatimg.a -lm -o $@
|
gcc $(COPT) $< ../libfloatimg.a -lm -o $@
|
||||||
|
|
||||||
|
|
||||||
# if "undefined reference to crc32" then "use -lz"
|
# if "undefined reference to crc32" then "use -lz"
|
||||||
png2fimg: png2fimg.c $(DEPS)
|
png2fimg: png2fimg.c $(DEPS)
|
||||||
gcc -g $< ../libfloatimg.a -lpnglite -o $@
|
gcc $(COPT) $< ../libfloatimg.a -lpnglite -o $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue