changeset 93:3731dd016e1b

halfway_3
author Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
date Thu, 26 May 2011 15:01:13 +0900
parents 01bec7dbe42c
children 30d89b592bc0
files Makefile Makefile~ makefile
diffstat 3 files changed, 75 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu May 26 14:57:10 2011 +0900
+++ b/Makefile	Thu May 26 15:01:13 2011 +0900
@@ -67,7 +67,7 @@
 mytype.o:
 gFont.o: 
 carNode.o:
-linda.o: #/Users/e095729/magoroku_racing/Linda/lindaapi.h
+#linda.o: #/Users/e095729/magoroku_racing/Linda/lindaapi.h
 light.o:
 title_scene.o:
 game_time.o:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile~	Thu May 26 15:01:13 2011 +0900
@@ -0,0 +1,73 @@
+TARGET = main
+CC = gcc
+SRCS = main.c game.c car.c col.c quotanion.c controler.c field.c camera.c gSprite.c schedule.c mytype.c gFont.c carNode.c light.c title_scene.c game_time.c ps2util.c
+#linda/lindaapi.c linda.c
+OBJS = ${SRCS:.c=.o}
+VU1DIR = vu1code
+
+#MPGOBJ =  mpg.elf
+
+VPUSRCS = ${VU1DIR}/Makefile ${VU1DIR}/MPG.dsm ${VU1DIR}/basic.vsm ${VU1DIR}/vpu.cmd ${VU1DIR}/vumacros.h
+VU1OBJ = ${VU1DIR}/mpg.elf
+
+INCLUDES = \
+#-I/usr/local/include/libps2a \
+#-I/usr/local/include/ps2util \
+#-I./Linda
+
+#DEFINES = -DDEBUG -DLINDA
+DEBUGFLAGS = -Wall -g
+#LIBPS2ARC = /usr/local/lib/libps2a.a
+
+CFLAGS = ${INCLUDES} ${DEFINES} ${DEBUGFLAGS}
+
+#LIBS = `xml-config --libs` -lps2util -lpng -lps2a
+
+all : ${TARGET}
+
+${VU1OBJ}: ${VPUSRCS}
+	cd ${VU1DIR}; make
+	cp ${VU1OBJ} .
+
+#${TARGET} : ${OBJS} ${VU1OBJ}
+#	${CC} -o ${TARGET} ${OBJS} ${LIBS}
+
+#${AR} x ${LIBPS2ARC} ${MPGOBJ}
+
+#${TARGET} : ${OBJS}
+#	${CC} -po ${TARGET} ${OBJS} ${LIBS}
+${TARGET} : ${OBJS}
+	${CC} -o ${TARGET} ${OBJS}
+
+
+tag:
+	etags *.[ch]
+
+clean :
+	rm -f ${OBJS}
+	rm -f ${TARGET}
+	rm -f ${MPGOBJ}
+	rm -f ${VU1OBJ}
+	rm -f *~
+	cd ${VU1DIR}; make clean
+depend:
+	makedepend -- ${CFLAGS} -- ${SRCS} ${MAINSRC}
+# DO NOT DELETE
+
+main.o: 
+game.o: #/Users/e095729/magoroku_racing/Linda/lindaapi.h
+car.o:
+col.o: 
+quotanion.o:
+field.o: 
+camera.o:
+gaSprite.o:
+schedule.o:
+demo.o: 
+mytype.o:
+gFont.o: 
+carNode.o:
+linda.o: #/Users/e095729/magoroku_racing/Linda/lindaapi.h
+light.o:
+title_scene.o:
+game_time.o:
--- a/makefile	Thu May 26 14:57:10 2011 +0900
+++ b/makefile	Thu May 26 15:01:13 2011 +0900
@@ -67,7 +67,7 @@
 mytype.o:
 gFont.o: 
 carNode.o:
-linda.o: #/Users/e095729/magoroku_racing/Linda/lindaapi.h
+#linda.o: #/Users/e095729/magoroku_racing/Linda/lindaapi.h
 light.o:
 title_scene.o:
 game_time.o: