FloatImg4PythonBinding/Makefile

36 lines
1.0 KiB
Makefile
Raw Normal View History

2019-04-03 21:09:04 +11:00
####################################################
# Before running make, you must have #
# a look to the 'build.sh' script ! #
####################################################
2019-03-04 02:22:55 +11:00
COPT = -Wall -fpic -g -pg -DDEBUG_LEVEL=0
LDOPT = libfloatimg.a -pg -lm
all: essai
#---------------------------------------------------------------
exemple: exemple.c libfloatimg.a floatimg.h Makefile
gcc $(COPT) $< $(LDOPT) -o $@
essai: essai.c libfloatimg.a floatimg.h Makefile
gcc $(COPT) $< $(LDOPT) -lpnglite -o $@
#---------------------------------------------------------------
TOTAR = *.[ch] Makefile *.sh *.txt doc/*.tex \
funcs/*.[ch] funcs/Makefile \
tools/*.[ch] tools/Makefile \
2019-07-28 10:00:12 +11:00
v4l2/*.[ch] v4l2/Makefile \
2019-03-04 02:22:55 +11:00
lib/*.[ch] lib/Makefile
lines: $(TOTAR)
@wc $(TOTAR) | sort -n
tarball: $(TOTAR)
date > tarball
2019-07-28 10:00:12 +11:00
ls $(TOTAR) | sed 's/^/FloatImg\//' > MANIFEST
( cd .. ; tar zcvf floatimg.tar.gz `cat FloatImg/MANIFEST` )
2019-03-04 02:22:55 +11:00
#---------------------------------------------------------------