darin%meer.net ed54e4945c vtable_hide
git-svn-id: svn://10.0.0.236/trunk@149976 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-03 07:50:05 +00:00

14 lines
417 B
Makefile

# vim:set ts=8 sw=8 noet:
all: libfoo.so libfoo++.so test test++
libfoo.so: libfoo.c Makefile
gcc -g -fPIC -shared $< -o $@
libfoo++.so: libfoo++.cc Makefile
gcc -g -fPIC -fno-exceptions -shared $< -o $@ -lsupc++
test: test.cc libfoo.h Makefile
gcc -g -fno-exceptions $< -o $@ -L. -lfoo -lsupc++
test++: test.cc libfoo.h Makefile
gcc -g -fno-exceptions $< -o $@ -L. -lfoo++ -lsupc++
clean:
rm -f test libfoo.so