diff Makefile @ 6:9a92435eaee6

divide SG Dandy and Task Dandy.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Tue, 14 Dec 2010 16:55:39 +0900
parents c9e9b605f08e
children 23d54565aa7b
line wrap: on
line diff
--- a/Makefile	Tue Dec 14 15:29:13 2010 +0900
+++ b/Makefile	Tue Dec 14 16:55:39 2010 +0900
@@ -22,18 +22,18 @@
 test: $(TARGET)
 	./demo  -test
 
-demo: $(OBJS) sgoex.o main.o collision.o
-	$(CC) $(ABI) -o $@ main.o sgoex.o collision.o $(OBJS) $(LIBS)
+demo: $(OBJS) main.o collision.o sgoex.o
+	$(CC) $(ABI) -o $@ main.o collision.o sgoex.o $(OBJS) $(LIBS)
 
 dandy: $(OBJS) Dandy.o collision.o
 	$(CC) $(ABI) -o $@ $(OBJS) Dandy.o collision.o $(LIBS)
 
-t_dandy: $(OBJS) $(TASK_OBJS) collision_task.o Dandy.o
-	$(CC) $(ABI) -o $@ $(OBJS) $(TASK_OBJS) collision_task.o Dandy.o $(LIBS)
+t_dandy: $(OBJS) $(TASK_OBJS)  TaskDandy.o state_task.o collision_task.o
+	$(CC) $(ABI) -o $@ $(OBJS) $(TASK_OBJS) TaskDandy.o state_task.o collision_task.o $(LIBS)
 
 clean:
 	rm -f $(TARGET) $(OBJS) $(TASK_OBJS)
-	rm -f Dandy.o collision.o sgoex.o collision_task.o main.o
+	rm -f  main.o TaskDandy.o collision.o state_task.o collision_task.o sgoex.o
 
 .c.o:
 	$(CC) $(CFLAGS) $(INCLUDES) -c $<