view old/simple_render/test/LoadTexture/spe/Makefile @ 836:74fd8d2a7b9d draft

example fix 50%
author tkaito
date Tue, 25 May 2010 19:13:28 +0900
parents 3bc98f6d31ff
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 *~ \#*