forked from tTh/FloatImg
first shoot
This commit is contained in:
29
tools/Makefile
Normal file
29
tools/Makefile
Normal file
@@ -0,0 +1,29 @@
|
||||
#
|
||||
# makefile for floatimg tools
|
||||
# use with caution
|
||||
#
|
||||
|
||||
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1
|
||||
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
||||
|
||||
# ----------
|
||||
|
||||
fimgstats: fimgstats.c $(DEPS)
|
||||
gcc -g $< ../libfloatimg.a -o $@
|
||||
|
||||
mkfimg: mkfimg.c $(DEPS)
|
||||
gcc -g $< ../libfloatimg.a -o $@
|
||||
|
||||
fimg2pnm: fimg2pnm.c $(DEPS)
|
||||
gcc -g $< ../libfloatimg.a -o $@
|
||||
|
||||
fimg2png: fimg2png.c $(DEPS)
|
||||
gcc -g $< ../libfloatimg.a -o $@
|
||||
|
||||
addtga2fimg: addtga2fimg.c $(DEPS)
|
||||
gcc -g $< ../libfloatimg.a -limageSO -lm -o $@
|
||||
|
||||
# if "undefined reference to crc32" then "use -lz"
|
||||
png2fimg: png2fimg.c $(DEPS)
|
||||
gcc -g $< ../libfloatimg.a -lpnglite -o $@
|
||||
|
||||
Reference in New Issue
Block a user