r10571: avoid multiple evaluation for strings input to macros
[uffi.git] / examples / Makefile
index c9f4f84f5e04e8ac1e524230838021643bf88ba5..cce6380850b7410a53497e9bd53b5eef1460abc9 100644 (file)
@@ -5,7 +5,7 @@
 #  Programer:    Kevin M. Rosenberg
 #  Date Started: Mar 2002
 #
-#  CVS Id:   $Id: Makefile,v 1.16 2002/10/23 19:51:12 kevin Exp $
+#  CVS Id:   $Id$
 #
 # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 #
@@ -37,6 +37,7 @@ linux: $(source) Makefile
 mac:
        cc -dynamic -c $(source) -o $(object)
        ld -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress -o $(base).dylib $(object)
+       ld -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress /usr/lib/libz.dylib -o z.dylib
 
 solaris:
        cc -KPIC -c $(source) -o $(object)