view TaskManager/Test/simple_render/spe/Makefile @ 85:9b96b190cb73

*** empty log message ***
author gongo
date Wed, 27 Feb 2008 04:25:04 +0900
parents 83b57e03d3ef
children 588ab5f0e659
line wrap: on
line source

TARGET = ../spe-main

SRCS = $(wildcard *.cpp)
OBJS = $(SRCS:.cpp=.o)

CC      = spu-g++
CFLAGS  = -O9 #-g -Wall# -DDEBUG
INCLUDE = -I../../../../include/TaskManager -I. -I..
LIBS    = -L../../.. -lspemanager# -lm

#EXTRA_CFLAGS = `sdl-config --cflags`
#EXTRA_LIBS   = `sdl-config --libs`

.SUFFIXES: .cpp .o

.cpp.o:
	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@

all: $(TARGET)

$(TARGET): $(OBJS)
	$(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) $(EXTRA_LIBS)

clean:
	rm -f $(TARGET) $(OBJS)
	rm -f *~ \#*