diff Renderer/Test/Makefile.macosx @ 583:530d189ebf1a

add writer
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 25 Oct 2009 20:11:38 +0900
parents cc989924f469
children 987380738a50
line wrap: on
line diff
--- a/Renderer/Test/Makefile.macosx	Sat Oct 24 18:15:18 2009 +0900
+++ b/Renderer/Test/Makefile.macosx	Sun Oct 25 20:11:38 2009 +0900
@@ -2,15 +2,15 @@
 
 LIBS += -lFifoManager -lCerium
 
-CFLAGS += `sdl-config --cflags` `xml2-config --cflags`
+CFLAGS += `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE)
 LIBS   += `sdl-config --libs` `xml2-config --libs` -lSDL_image -Wl,-framework,OpenGL
 
 .SUFFIXES: .cc .o  .xml .xml.h .xml.cc
 
 .cc.o:
-	$(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
+	$(CC) $(CFLAGS)  -c $< -o $@
 
-ALL =  ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum send_linda dynamic
+ALL =  ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum send_linda dynamic writer
 all: $(ALL)
 
 BALL_BOUND_OBJ = ball_bound.o
@@ -61,6 +61,10 @@
 send_linda : $(SENDLINDA_OBJ) 
 	$(CC) -o $@ $?    $(LIBS)
 
+WRITER_OBJ = writer.o
+writer : $(WRITER_OBJ) 
+	$(CC) -o $@ $?    $(LIBS)
+
 run: $(TARGET)
 	sudo ./$(TARGET) -width 576 -height 384 -bpp 32