Mercurial > hg > Game > Cerium
view Renderer/Test/Makefile.gpu @ 1616:05d449e7b9f8 draft
remove set_NDRange
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 14 May 2013 13:40:50 +0900 |
parents | 4443d59a8210 |
children |
line wrap: on
line source
include ./Makefile.def LIBS += -lCerium -lGpuManager -framework OpenCL CFLAGS += `sdl-config --cflags` `xml2-config --cflags` `freetype-config --cflags` $(INCLUDE) LIBS += `sdl-config --libs` `xml2-config --libs` `freetype-config --libs` -lSDL_image -Wl,-framework,OpenGL .SUFFIXES: .proto .pb.o .pb.cc .cc .o .xml .xml.h .xml.cc .PRECIOUS: %.pb.cc .cc.o: $(CC) $(CFLAGS) -c $< -o $@ %.pb.cc: $(PROTODIR)/%.proto $(PROTO) $(PROTOFLAGS) $< COLLISION_OBJ = collision_effect.o collision_effect : $(COLLISION_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) COLLADA_OBJ = collada.o collada : $(COLLADA_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) STR_OBJ = print_string.o print_string : $(STR_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) MOTION_MAN_OBJ = motion_man.o motion_man : $(MOTION_MAN_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) BALL_BOUND_OBJ = ball_bound.o ball_bound : $(BALL_BOUND_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) BOSS_OBJ = boss1_action.o boss1_action : $(BOSS_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) DIRECTION_OBJ = direction.o direction : $(DIRECTION_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) GAPLAN_OBJ = gaplant.o gaplant_action.o back_action.o ball_action.o gaplant : $(GAPLAN_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) IESHOOT_OBJ = ieshoot.o ieshoot : $(IESHOOT_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) NODE_OBJ = node.o node : $(NODE_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) PANEL_OBJ = panel.o panel : $(PANEL_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) UNIV_OBJ = universe.o universe : $(UNIV_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) UNTITLED_OBJ = untitled.o untitled : $(UNTITLED_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) VACUUM_OBJ = vacuum.o cube.o game_over.o title.o vacuum : $(VACUUM_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) PROPERTY_OBJ = property_test.o property_test : $(PROPERTY_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) DYNAMIC_OBJ = dynamic_create.o dynamic : $(DYNAMIC_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) SENDLINDA_OBJ = send_linda.o send_linda : $(SENDLINDA_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) WRITER_OBJ = writer.o writer : $(WRITER_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) CHAIN_OBJ = chain_old.o chain_old : $(CHAIN_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) SGCHANGE_OBJ = SgRootChange.o SgRootChange : $(SGCHANGE_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) VIEWER_OBJ = viewer_2.o viewer : $(VIEWER_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) AQUARIUM_OBJ = aquarium.pb.o aquarium.o aquarium : $(AQUARIUM_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) $(PROTOLIBS) NETWORK_OBJ = network_game.pb.o network.o network : $(NETWORK_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) $(PROTOLIBS) INIT_AQUARIUM_OBJ = aquarium.pb.o init_aquarium.o init_aquarium : $(INIT_AQUARIUM_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) $(PROTOLIBS) TEST_LINDA_OBJ = aquarium.pb.o test_linda.o test_linda : $(TEST_LINDA_OBJ) $(CC) $(CFLAGS) -o $@ $? $(LIBS) $(PROTOLIBS) VIEWER_OBJ2 = viewer_2.o viewer_2 : $(VIEWER_OBJ2) $(CC) $(CFLAGS) -o $@ $? $(LIBS) run: $(TARGET) sudo ./$(TARGET) -width 576 -height 384 -bpp 32 debug: $(TARGET) sudo ppu-gdb ./$(TARGET) depend: $(RM) depend.inc $(CC) -MM -MG $(INCLUDE) $(CFLAGS) $(SRCS) $(TASK_SRCS) > depend.inc clean: rm -f $(TARGET) $(OBJS) $(TASK_OBJS) *.o rm -f *~ \#* $(ALL) rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ) rm -f *.pb.{cc,h} -include depend.inc