first shoot
This commit is contained in:
33
Makefile
Normal file
33
Makefile
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
# Before running make, you must have
|
||||
# a look to the 'build.sh' script !
|
||||
|
||||
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 \
|
||||
lib/*.[ch] lib/Makefile
|
||||
|
||||
lines: $(TOTAR)
|
||||
@wc $(TOTAR) | sort -n
|
||||
|
||||
tarball: $(TOTAR)
|
||||
date > tarball
|
||||
ls $(TOTAR) | sed 's/^/Fimg\//' > MANIFEST
|
||||
( cd .. ; tar zcvf floatimg.tar.gz `cat Fimg/MANIFEST` )
|
||||
|
||||
#---------------------------------------------------------------
|
||||
Reference in New Issue
Block a user