view TaskManager/Test/simple_render/spe/Makefile @ 106:c9efdb17e8d2

*** empty log message ***
author gongo
date Tue, 04 Mar 2008 15:33:23 +0900
parents 3e331f7576a1
children 028ffc9c0375
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 *~ \#*