X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=examples%2FMakefile;h=269d032e6390b1e6e519a3d0354dd2901807da76;hb=e6ead14af8cd0833a49d7cd33c8bc33d3404da6d;hp=4f92cc1804ea5d8a91443cc73a28a9b67feca45d;hpb=9da7e692be03af191d9930169ebda2832232a7a8;p=uffi.git diff --git a/examples/Makefile b/examples/Makefile index 4f92cc1..269d032 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -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)