Mercurial > hg > Game > Cerium
view TaskManager/Test/simple_render/Makefile @ 89:a309cf4eafc5
*** empty log message ***
author | gongo |
---|---|
date | Wed, 27 Feb 2008 17:26:40 +0900 |
parents | 265fb700dd4c |
children | 663bc2a213f5 |
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 = -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) LIBS = `sdl-config --libs` -lSDL_image -Wl,-framework,OpenGL \ `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 *~ \#*