view TaskManager/Makefile.def @ 1179:5393bebe0956 draft

CpuThreads update
author Daichi TOMA
date Tue, 21 Jun 2011 19:50:53 +0900
parents 693e58f4a672
children 6147dd81b4c7
line wrap: on
line source

KERN_DIR = kernel

KERN_MAIN_SRCS = $(KERN_DIR)/main.cc
KERN_MAIN_OBJS = $(KERN_MAIN_SRCS:.cc=.o)

KERN_PPE_DIR  = $(KERN_DIR)/ppe
KERN_PPE_SRCS = $(wildcard $(KERN_PPE_DIR)/*.cc)
KERN_PPE_OBJS = $(KERN_PPE_SRCS:.cc=.o)

KERN_SCHED_DIR  = $(KERN_DIR)/schedule
KERN_SCHED_SRCS = $(wildcard $(KERN_SCHED_DIR)/*.cc)
KERN_SCHED_OBJS = $(KERN_SCHED_SRCS:.cc=.o)

KERN_SYSTASK_DIR  = $(KERN_DIR)/sys_task
KERN_SYSTASK_SRCS = $(wildcard $(KERN_SYSTASK_DIR)/*.cc)
KERN_SYSTASK_OBJS = $(KERN_SYSTASK_SRCS:.cc=.o)

KERN_MEM_DIR  = $(KERN_DIR)/memory
KERN_MEM_SRCS = $(wildcard $(KERN_MEM_DIR)/*.cc)
KERN_MEM_OBJS = $(KERN_MEM_SRCS:.cc=.o)

IMPL_FIFO_DIR  = Fifo
IMPL_FIFO_SRCS = $(wildcard $(IMPL_FIFO_DIR)/*.cc)
IMPL_FIFO_OBJS = $(IMPL_FIFO_SRCS:.cc=.o)

IMPL_PARALLEL_DIR  = Parallel
IMPL_PARALLEL_SRCS = $(IMPL_FIFO_SRCS) $(wildcard $(IMPL_PARALLEL_DIR)/*.cc)
IMPL_PARALLEL_OBJS = $(IMPL_PARALLEL_SRCS:.cc=.o)

IMPL_CELL_DIR  = Cell
IMPL_CELL_SRCS = $(IMPL_FIFO_SRCS) $(wildcard $(IMPL_CELL_DIR)/*.cc)
IMPL_CELL_OBJS = $(IMPL_CELL_SRCS:.cc=.o)

ABIBIT = 64

OPT = -g -O0 -DMAIL_QUEUE -DNOT_CHECK #-DTASK_LIST_MAIL #-DEARLY_TOUCH -DUSE_CACHE
#OPT = -O9 -DMAIL_QUEUE -DNOT_CHECK #-DTASK_LIST_MAIL #-DEARLY_TOUCH -DUSE_CACHE 



CC     = g++   
CFLAGS = -Wall `sdl-config --cflags` -m$(ABIBIT)   $(OPT)
LIBS   =  -m$(ABIBIT)

INCLUDE = -I../include/TaskManager