Update of /project/cello/cvsroot/cello/cl-ftgl/ftgl-int In directory clnet:/tmp/cvs-serv27488
Modified Files: Makefile Log Message: Changed: Frameworks etc for correct dylib building added to DEPLIBS
--- /project/cello/cvsroot/cello/cl-ftgl/ftgl-int/Makefile 2006/08/23 14:34:35 1.1 +++ /project/cello/cvsroot/cello/cl-ftgl/ftgl-int/Makefile 2006/08/23 20:07:32 1.2 @@ -2,7 +2,7 @@ # MAKEFILE for libFTGLinterface # =============================================================================
-# $Id: Makefile,v 1.1 2006/08/23 14:34:35 fgoenninger Exp $ +# $Id: Makefile,v 1.2 2006/08/23 20:07:32 fgoenninger Exp $
# by Frank Goenninger, Bempflingen, Germany # August 2006 @@ -17,15 +17,17 @@ INCLUDEDIRS = -I/usr/local/include/freetype2 -I/usr/local/include/freetype2/freetype -I/opt/ftgl/src/FTGL/include
TARGET = libFTGLint.dylib -DEPLIBS = /opt/ftgl/src/FTGL/build/libFTGL.a +DEPLIBS = -framework Carbon -framework OpenGL -framework GLUT /usr/local/lib/libfreetype.dylib /opt/ftgl/src/FTGL/mac/build/Development/libftgl.a
-CC = gcc -O +CC = g++ -O +CCFLAGS = -dynamic +LDFLAGS = -dynamiclib -flat_namespace
FTGLFromC.o: $(SRCS) - $(CC) $(INCLUDEDIRS) -o FTGLFromC.o -c FTGLFromC.cpp + $(CC) $(CCFLAGS) $(INCLUDEDIRS) -o FTGLFromC.o -c FTGLFromC.cpp
all: $(OBJS) - $(CC) -o $(TARGET) -undefined suppress -dynamiclib -flat_namespace $(DEPLIBS) FTGLFromC.o + $(CC) $(LDFLAGS) -o $(TARGET) $(DEPLIBS) FTGLFromC.o
clean: - rm -f $(OBJS) $(TARGET) \ No newline at end of file + rm -f $(OBJS) $(TARGET)