[elephant-cvs] CVS elephant
ieslick
ieslick at common-lisp.net
Sun Jan 29 01:08:32 UTC 2006
Update of /project/elephant/cvsroot/elephant
In directory common-lisp:/tmp/cvs-serv30673
Modified Files:
Makefile
Log Message:
Minor modifications to improve compilation on Mac OS X and test completion under Allegro
--- /project/elephant/cvsroot/elephant/Makefile 2005/11/23 17:51:31 1.7
+++ /project/elephant/cvsroot/elephant/Makefile 2006/01/29 01:08:31 1.8
@@ -24,16 +24,18 @@
ifeq (Darwin,$(UNAME))
SHARED=-bundle
+ EXT=dylib
else
SHARED=-shared
+ EXT=so
endif
-all: libsleepycat.so libmemutil.so
+all: libsleepycat.$(EXT) libmemutil.$(EXT)
-libmemutil.so: src/libmemutil.c
+libmemutil.$(EXT): src/libmemutil.c
gcc $(SHARED) -Wall -fPIC -O3 -o $@ $< -lm
-libsleepycat.so: src/libsleepycat.c
+libsleepycat.$(EXT): src/libsleepycat.c
gcc $(SHARED) -Wall -L$(DBLIBDIR) -I$(DBINCDIR) -fPIC -O3 -o $@ $< -ldb -lm
More information about the Elephant-cvs
mailing list