view old/simple_render/test/LoadTexture/spe/Makefile @ 507:735f76483bb2

Reorganization..
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 09:39:35 +0900
parents TaskManager/Test/simple_render/test/LoadTexture/spe/Makefile@21958f9a31c7
children
line wrap: on
line source

TARGET = ../spe-main

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

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

.SUFFIXES: .cpp .o

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

all: $(TARGET)

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

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