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
|
|
|
|
2019-08-08 02:30:16 +11:00
|
|
|
COPT = -Wall -fpic -g -pg -no-pie -DDEBUG_LEVEL=0
|
2019-03-04 02:22:55 +11:00
|
|
|
LDOPT = libfloatimg.a -pg -lm
|
|
|
|
|
|
|
|
all: essai
|
|
|
|
|
|
|
|
#---------------------------------------------------------------
|
|
|
|
|
|
|
|
essai: essai.c libfloatimg.a floatimg.h Makefile
|
2020-01-23 22:38:19 +11:00
|
|
|
gcc $(COPT) $< $(LDOPT) -lpnglite -lz -o $@
|
2019-03-04 02:22:55 +11:00
|
|
|
|
|
|
|
#---------------------------------------------------------------
|
|
|
|
|
2020-02-20 00:21:45 +11:00
|
|
|
TOTAR = *.[ch] Makefile *.sh *.md \
|
2020-03-24 19:30:30 +11:00
|
|
|
doc/the*.tex doc/mk*.sh doc/*.txt \
|
2019-03-04 02:22:55 +11:00
|
|
|
funcs/*.[ch] funcs/Makefile \
|
2020-03-24 20:41:57 +11:00
|
|
|
tools/*.[ch] tools/README.md tools/Makefile \
|
2019-07-28 10:00:12 +11:00
|
|
|
v4l2/*.[ch] v4l2/Makefile \
|
2020-03-24 19:30:30 +11:00
|
|
|
scripts/*.sh scripts/README.md \
|
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
|
|
|
|
|
|
|
#---------------------------------------------------------------
|