view example/regex_mas/spe/Makefile @ 1794:3d53b0ca02a2 draft

rename string_args to send_args
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Wed, 04 Dec 2013 18:01:17 +0900
parents 0f94d9d580f9
children
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 *~ \#*