tryint that thing for the ravebish

This commit is contained in:
2019-06-29 23:50:03 +02:00
parent ea70dd78f6
commit c7d7c8b2dd
5 changed files with 130 additions and 1 deletions

View File

@@ -8,7 +8,8 @@ DEPS = ../floatimg.h ../libfloatimg.a Makefile
# ----------
all: fimg2pnm addtga2fimg mkfimg png2fimg fimgstats fimg2png
all: fimg2pnm addtga2fimg mkfimg png2fimg fimgstats fimg2png \
addpnm2fimg
fimgstats: fimgstats.c $(DEPS)
gcc -g $< ../libfloatimg.a -o $@
@@ -25,6 +26,10 @@ fimg2png: fimg2png.c $(DEPS)
addtga2fimg: addtga2fimg.c $(DEPS)
gcc -g $< ../libfloatimg.a -limageSO -lm -o $@
addpnm2fimg: addpnm2fimg.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 $@