diff Renderer/Engine/Makefile.macosx @ 509:8148c81d2660

Cerium Rendering Library
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 10:17:09 +0900
parents 735f76483bb2
children 32a7260fad2f
line wrap: on
line diff
--- a/Renderer/Engine/Makefile.macosx	Mon Oct 12 09:43:07 2009 +0900
+++ b/Renderer/Engine/Makefile.macosx	Mon Oct 12 10:17:09 2009 +0900
@@ -21,14 +21,13 @@
 .cc.o:
 	$(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
 
-all: SGList.o $(TARGET)
+all: $(TARGET)
 
-$(TARGET): $(OBJS) $(TASK_OBJS)
-	$(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)
+$(TARGET) : $(OBJS) $(TASK_OBJS)
+	$(AR) crus $@ $(OBJS) $(TASK_OBJS) 
 
-
-SGList.o: create_sg_list
-	$(CC) $(CFLAGS) $(INCLUDE) -c SGList.cc -o $@
+# SGList.o: create_sg_list
+# 	$(CC) $(CFLAGS) $(INCLUDE) -c SGList.cc -o $@
 
 create_sg_list:
 	@if [ ! -f SGList.h ]; then \