configure

changeset 41
bb7a1f5a8b48
parent 40
56cda23f48d4
child 44
3da1f7b6847f
--- a/configure	Mon Dec 31 00:07:52 2012 +0100
+++ b/configure	Tue Jan 01 13:32:04 2013 +0100
@@ -46,21 +46,29 @@
 INSTALL_DIR = $INSTALL_DIR
 HOST = $HOST
 
-# make variables
 __EOF__
 
 # platform
+
 if [ $OS = SunOS ]; then
-echo "SUNOS = true" >> config.mk
+CCONF=suncc.mk
+PLATFORM=solaris.mk
 fi
 
 if [ $OS = Linux ]; then
-echo "LINUX = true" >> config.mk
+CCONF=gcc.mk
+PLATFORM=linux.mk
 fi
 
 if [ $OS = Darwin ]; then
-echo "OSX = true" >> config.mk
+CCONF=gcc.mk
+
 fi
 
+echo "
+include \$(BUILD_ROOT)/make/$CCONF
+include \$(BUILD_ROOT)/make/$PLATFORM
+" >> config.mk
+
 
 

mercurial