comparison TaskManager/Makefile.def @ 109:5c194c71eca8

Cerium cvs version
author gongo@gendarme.local
date Wed, 12 Nov 2008 17:39:33 +0900 (2008-11-12)
parents 14a5ca0be17e
children 44e3bf914155
comparison
equal deleted inserted replaced
108:6f3b3dd3c095 109:5c194c71eca8
1 KERN_DIR = kernel 1 KERN_DIR = kernel
2 2
3 KERN_MAIN_SRCS = $(KERN_DIR)/main.cc
4 KERN_MAIN_OBJS = $(KERN_MAIN_SRCS:.cc=.o)
5
3 KERN_PPE_DIR = $(KERN_DIR)/ppe 6 KERN_PPE_DIR = $(KERN_DIR)/ppe
4 KERN_PPE_SRCS = $(wildcard $(KERN_PPE_DIR)/*.cpp) 7 KERN_PPE_SRCS = $(wildcard $(KERN_PPE_DIR)/*.cc)
5 KERN_PPE_OBJS = $(KERN_PPE_SRCS:.cpp=.o) 8 KERN_PPE_OBJS = $(KERN_PPE_SRCS:.cc=.o)
6 9
7 KERN_SCHED_DIR = $(KERN_DIR)/schedule 10 KERN_SCHED_DIR = $(KERN_DIR)/schedule
8 KERN_SCHED_SRCS = $(wildcard $(KERN_SCHED_DIR)/*.cpp) 11 KERN_SCHED_SRCS = $(wildcard $(KERN_SCHED_DIR)/*.cc)
9 KERN_SCHED_OBJS = $(KERN_SCHED_SRCS:.cpp=.o) 12 KERN_SCHED_OBJS = $(KERN_SCHED_SRCS:.cc=.o)
10 13
11 #KERN_SPE_DIR = $(KERN_DIR)/spe 14 KERN_SYSTASK_DIR = $(KERN_DIR)/sys_task
12 #KERN_SPE_SRCS = $(wildcard $(KERN_SPE_DIR)/*.cpp) 15 KERN_SYSTASK_SRCS = $(wildcard $(KERN_SYSTASK_DIR)/*.cc)
13 #KERN_SPE_OBJS = $(KERN_SPE_SRCS:.cpp=.o) 16 KERN_SYSTASK_OBJS = $(KERN_SYSTASK_SRCS:.cc=.o)
17
14 18
15 IMPL_FIFO_DIR = Fifo 19 IMPL_FIFO_DIR = Fifo
16 IMPL_FIFO_SRCS = $(wildcard $(IMPL_FIFO_DIR)/*.cpp) 20 IMPL_FIFO_SRCS = $(wildcard $(IMPL_FIFO_DIR)/*.cc)
17 IMPL_FIFO_OBJS = $(IMPL_FIFO_SRCS:.cpp=.o) 21 IMPL_FIFO_OBJS = $(IMPL_FIFO_SRCS:.cc=.o)
18 22
19 IMPL_CELL_DIR = Cell 23 IMPL_CELL_DIR = Cell
20 IMPL_CELL_SRCS = $(wildcard $(IMPL_CELL_DIR)/*.cpp) 24 IMPL_CELL_SRCS = $(IMPL_FIFO_SRCS) $(wildcard $(IMPL_CELL_DIR)/*.cc)
21 IMPL_CELL_OBJS = $(IMPL_CELL_SRCS:.cpp=.o) 25 IMPL_CELL_OBJS = $(IMPL_CELL_SRCS:.cc=.o)
22 26
23 CC = g++ 27 CC = g++
24 CFLAGS = -O9 -Wall -g #-D_PPE_DEBUG# -DDEBUG 28 CFLAGS = -O9 -Wall `sdl-config --cflags` -ffunction-sections -g # -D_PPE_DEBUG #-DDEBUG
25 LIBS = 29 LIBS =
26 30
27 INCLUDE = -I../include/TaskManager 31 INCLUDE = -I../include/TaskManager