Mercurial > hg > old > magoroku_racing
view Makefile2 @ 122:5219bf3d5e71
title_draw
author | e085768 |
---|---|
date | Mon, 27 Jun 2011 19:44:46 +0900 |
parents | 0c4b7d74e292 |
children |
line wrap: on
line source
# Makefile to build the SDL tests # include ./Makefile.def TARGET = main CC = g++ SRCS = main.cc game.cc car.cc col.cc quotanion.cc controler.cc field.cc camera.cc gSprite.cc schedule.cc mytype.cc gFont.cc carNode.cc light.cc title_scene.cc game_time.cc ps2util.cc sjoy.cc name_dictionary.cc Magoroku.cc #linda/lindaapi.cc linda.c OBJS = ${SRCS:.cc=.o} VU1DIR = vu1code #MPGOBJ = mpg.elf CERIUM = ../Cerium VPUSRCS = ${VU1DIR}/Makefile ${VU1DIR}/MPG.dsm ${VU1DIR}/basic.vsm ${VU1DIR}/vpu.cmd ${VU1DIR}/vumacros.h VU1OBJ = ${VU1DIR}/mpg.elf #Dandy の Makefile をもとに追加 INCLUDES = \ -I. -I.. -I${CERIUM}/include/TaskManager -I$(CERIUM)/Renderer/Engine -I$(CERIUM)/include/Cerium #DEFINES = -DDEBUG -DLINDA DEBUGFLAGS = -Wall -g #LIBPS2ARC = /usr/local/lib/libps2a.a CFLAGS = ${INCLUDES} ${DEFINES} ${DEBUGFLAGS} #LIBS = `xml-config --libs` -lps2util -lpng -lps2a #Dandy の Makefile をもとに追加 LIBS = -L${CERIUM}/TaskManager -L$(CERIUM)/Renderer/Engine LIBS += `sdl-config --libs`, -framework,OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs` LIBS += -lCerium -lFifoManager TEST = test_vector all : ${TARGET} ${TEST} ${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} ${LIBS} ${TEST} : test_vector.cc ps2util.cc ${CC} -o ${TEST} $^ 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: sjoy.o: name_dictionary.o: Magoroku.o: