view spe/Makefile @ 30:427e1aac0bd7

not run.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Fri, 31 Dec 2010 15:50:44 +0900
parents 927401604461
children fce767bb5e25
line wrap: on
line source

include ../Makefile.def

TARGET = ../spe-main

SRCS_TMP = $(wildcard *.cc)
SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
OBJS = $(SRCS:.cc=.o)

CC      = spu-g++
CFLAGS  = -Wall -fno-exceptions -fno-rtti $(OPT) 
INCLUDE = -I../${CERIUM}/include/TaskManager -I. -I..
LIBS = -L../${CERIUM}/TaskManager -lspemanager

.SUFFIXES: .cc .o

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

all: $(TARGET)

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

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