Mercurial > hg > Game > Cerium
view TaskManager/Test/simple_render/Makefile @ 76:5a1a5f4c28fd
*** empty log message ***
author | gongo |
---|---|
date | Mon, 18 Feb 2008 11:40:11 +0900 |
parents | 811ffebd8deb |
children | 83b57e03d3ef |
line wrap: on
line source
TARGET = test_nogl SRCS = $(wildcard *.cpp) OBJS = $(SRCS:.cpp=.o) TASK_DIR = task TASK_SRCS = $(wildcard $(TASK_DIR)/*.cpp) TASK_OBJS = $(TASK_SRCS:.cpp=.o) CC = g++ CFLAGS = -O9 -g -Wall# -DDEBUG INCLUDE = -I../../../include/TaskManager -I. EXTRA_CFLAGS = `sdl-config --cflags` `xml2-config --cflags`\ #EXTRA_LIBS = -lCellManager -lspe2 -lpthread EXTRA_LIBS = -lFifoManager LIBS = `sdl-config --libs` -lSDL_image -lGL \ `xml2-config --libs` -L../.. $(EXTRA_LIBS) .SUFFIXES: .cpp .o .cpp.o: $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ all: $(TARGET) $(TARGET): $(OBJS) $(TASK_OBJS) $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) link: $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS) run: $(TARGET) sudo ./$(TARGET) -width 576 -height 384 -bpp 32 debug: $(TARGET) sudo ppu-gdb ./$(TARGET) clean: rm -f $(TARGET) $(OBJS) $(TASK_OBJS) rm -f *~ \#*