Now generates static and dynamic executablesje

This commit is contained in:
agibert 2002-02-25 23:37:49 +00:00
parent 5ed694ea38
commit 719416547a

View File

@ -1,8 +1,10 @@
all: demo0 demo0-static
all: demo0
demo0-static: demo0.c ../../libver/ver.h ../lib/node.h ../../libver/libver.so ../lib/libnode.so Makefile
gcc -g -o demo0-static -I ../lib -ldl demo0.c ../lib/libnode.a
demo0: demo0.c ../../libver/ver.h ../lib/node.h ../../libver/libver.so ../lib/libnode.so Makefile
gcc -g -o demo0 -I ../../libver -I ../lib -ldl ../../libver/libver.so ../lib/libnode.so demo0.c
gcc -g -o demo0 -I ../lib -L ../lib -ldl -lnode demo0.c
clean:
rm demo0
rm -f demo0 demo0-static