Mercurial > hg > Game > Cerium
diff TaskManager/Makefile.def @ 109:028ffc9c0375 draft
Cerium cvs version
author | gongo@gendarme.local |
---|---|
date | Wed, 12 Nov 2008 17:39:33 +0900 |
parents | 14a5ca0be17e |
children | d9ea79aac04f |
line wrap: on
line diff
--- a/TaskManager/Makefile.def Wed Nov 12 17:29:35 2008 +0900 +++ b/TaskManager/Makefile.def Wed Nov 12 17:39:33 2008 +0900 @@ -1,27 +1,31 @@ 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)/*.cpp) -KERN_PPE_OBJS = $(KERN_PPE_SRCS:.cpp=.o) +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)/*.cpp) -KERN_SCHED_OBJS = $(KERN_SCHED_SRCS:.cpp=.o) +KERN_SCHED_SRCS = $(wildcard $(KERN_SCHED_DIR)/*.cc) +KERN_SCHED_OBJS = $(KERN_SCHED_SRCS:.cc=.o) -#KERN_SPE_DIR = $(KERN_DIR)/spe -#KERN_SPE_SRCS = $(wildcard $(KERN_SPE_DIR)/*.cpp) -#KERN_SPE_OBJS = $(KERN_SPE_SRCS:.cpp=.o) +KERN_SYSTASK_DIR = $(KERN_DIR)/sys_task +KERN_SYSTASK_SRCS = $(wildcard $(KERN_SYSTASK_DIR)/*.cc) +KERN_SYSTASK_OBJS = $(KERN_SYSTASK_SRCS:.cc=.o) + IMPL_FIFO_DIR = Fifo -IMPL_FIFO_SRCS = $(wildcard $(IMPL_FIFO_DIR)/*.cpp) -IMPL_FIFO_OBJS = $(IMPL_FIFO_SRCS:.cpp=.o) +IMPL_FIFO_SRCS = $(wildcard $(IMPL_FIFO_DIR)/*.cc) +IMPL_FIFO_OBJS = $(IMPL_FIFO_SRCS:.cc=.o) IMPL_CELL_DIR = Cell -IMPL_CELL_SRCS = $(wildcard $(IMPL_CELL_DIR)/*.cpp) -IMPL_CELL_OBJS = $(IMPL_CELL_SRCS:.cpp=.o) +IMPL_CELL_SRCS = $(IMPL_FIFO_SRCS) $(wildcard $(IMPL_CELL_DIR)/*.cc) +IMPL_CELL_OBJS = $(IMPL_CELL_SRCS:.cc=.o) -CC = g++ -CFLAGS = -O9 -Wall -g #-D_PPE_DEBUG# -DDEBUG +CC = g++ +CFLAGS = -O9 -Wall `sdl-config --cflags` -ffunction-sections -g # -D_PPE_DEBUG #-DDEBUG LIBS = INCLUDE = -I../include/TaskManager \ No newline at end of file