Permalink
Browse files

updated linux makefile

  • Loading branch information...
1 parent 6f70f44 commit 5ad41385a597da36a9952bf6c89f1fae7b607c79 @opencollada-sebastian opencollada-sebastian committed Apr 15, 2009
Showing with 5 additions and 1 deletion.
  1. +5 −1 COLLADAMaya/Makefile
@@ -18,6 +18,10 @@
# you have to reset MAYA_LOCATION
include $(MAYA_LOCATION)/devkit/plug-ins/buildconfig
+# override compiler if gcc 4.1.2 is installed as default
+#CC = gcc
+#C++ = g++
+
# define variables
ARCH = `uname -i`
OS = linux
@@ -75,7 +79,7 @@ generateVersionHeader:
openCOLLADA: mkdirs
# build UTF
- gcc -c -I../Externals/UTF/include -o $(OBJ_DIR_OPENCOLLADA)/ConvertUTF.o ../Externals/UTF/src/ConvertUTF.c
+ $(CC) -c $(CFLAGS) -I../Externals/UTF/include -o $(OBJ_DIR_OPENCOLLADA)/ConvertUTF.o ../Externals/UTF/src/ConvertUTF.c
# build openCOLLADA
for i in $(OPENCOLLADA_SRC_DIRS); do \

0 comments on commit 5ad4138

Please sign in to comment.