Mercurial > hg > Members > kono > Cerium
view TaskManager/Makefile.cell @ 60:f50c74835a9b
*** empty log message ***
author | gongo |
---|---|
date | Sat, 16 Feb 2008 20:05:35 +0900 |
parents | 16f9f6251f49 |
children | 6bc72fde6615 |
line wrap: on
line source
include ./Makefile.def CELL_SPE_DIR = $(IMPL_CELL_DIR)/spe CELL_SPE_SRCS = $(wildcard $(CELL_SPE_DIR)/*.cpp) CELL_SPE_OBJS = $(CELL_SPE_SRCS:.cpp=.o) SPUCC = spu-g++ SPUCFLAGS = -fno-strict-aliasing all: default default: $(TARGET) spe PPE_ALL_OBJS = $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(IMPL_CELL_OBJS) $(TARGET): $(PPE_ALL_OBJS) ar crus $@ $(ALL_OBJS) $(PPE_ALL_OBJS): %.o : %.cpp $(CC) $(CFLAGS) $(SPUCFLAGS) $(INCLUDE) -c $< -o $@ spe: $(CELL_SPE_OBJS) $(CELL_SPE_OBJS): %.o %.cpp $(SPUCC) $(CFLAGS) $(INCLUDE) -c $< -o $@