r1724: *** empty log message ***
[uffi.git] / examples / Makefile
index 4f92cc1804ea5d8a91443cc73a28a9b67feca45d..269d032e6390b1e6e519a3d0354dd2901807da76 100644 (file)
@@ -5,7 +5,7 @@
 #  Programer:    Kevin M. Rosenberg
 #  Date Started: Mar 2002
 #
-#  CVS Id:   $Id: Makefile,v 1.4 2002/04/01 17:16:15 kevin Exp $
+#  CVS Id:   $Id: Makefile,v 1.6 2002/04/03 00:31:32 kevin Exp $
 #
 # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 #
@@ -19,8 +19,8 @@ AR=ar
 CC=gcc
 SHARED_CC_OPT=-fpic
 
-SHARED_LD_OPT=-shared  # For Linux
-#SHARED_LD_OPT=-r # For FreeBSD and Solaris
+#SHARED_LD_OPT=-shared  # For Linux
+SHARED_LD_OPT=-r # For FreeBSD and Solaris
 
 # If you are using Solaris with Sun's CC, these are the correct values
 # for creating a shared library
@@ -37,8 +37,7 @@ object=$(base).o
 shared_lib=$(base).so
 static_lib=$(base).a
 
-all: $(shared_lib) $(static_lib)
-
+all: $(shared_lib)
 
 $(shared_lib): $(source)
        $(CC) ${SHARED_CC_OPT} -c $(source) -o $(object)