|
From: <cn...@us...> - 2008-12-30 22:22:16
|
Revision: 111
http://hgengine.svn.sourceforge.net/hgengine/?rev=111&view=rev
Author: cnlohr
Date: 2008-12-30 21:37:18 +0000 (Tue, 30 Dec 2008)
Log Message:
-----------
fix library definition bit
Modified Paths:
--------------
Mercury2/cnconfigure
Modified: Mercury2/cnconfigure
===================================================================
--- Mercury2/cnconfigure 2008-12-30 21:26:46 UTC (rev 110)
+++ Mercury2/cnconfigure 2008-12-30 21:37:18 UTC (rev 111)
@@ -197,10 +197,12 @@
echo -e "help : " >> Makefile
echo -e " echo \"Available: <\$(PROJ)> <clean> <library> <help>\"" >> Makefile
if test `uname -s` == "Darwin" ; then
- echo -e "library : \$(OBJ)" >> Makefile
+ echo -e "library : \$(PROJ).dylib" >> Makefile
+ echo -e "\$(PROJ).dylib : \$(OBJ)" >> Makefile
echo -e "\tg++ -dynamiclib -o \$(PROJ).dylib \$^ \$(LDFLAGS)" >> Makefile
else
- echo -e "library : \$(OBJ)" >> Makefile
+ echo -e "library : \$(PROJ).so" >> Makefile
+ echo -e "\$(PROJ).so : \$(OBJ)" >> Makefile
echo -e "\tg++ -shared -o \$(PROJ).so \$^ \$(LDFLAGS)" >> Makefile
fi
echo "" >> Makefile
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|