Mercurial > hg > Game > Cerium
annotate TaskManager/Makefile.def @ 890:a5ccf763fc3f draft
minor fix. possible schedTaskArray overrun
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 15 Jul 2010 11:59:53 +0900 |
parents | 5f5301028e29 |
children | b662e9dd26b0 |
rev | line source |
---|---|
2 | 1 KERN_DIR = kernel |
2 | |
109 | 3 KERN_MAIN_SRCS = $(KERN_DIR)/main.cc |
4 KERN_MAIN_OBJS = $(KERN_MAIN_SRCS:.cc=.o) | |
5 | |
2 | 6 KERN_PPE_DIR = $(KERN_DIR)/ppe |
109 | 7 KERN_PPE_SRCS = $(wildcard $(KERN_PPE_DIR)/*.cc) |
8 KERN_PPE_OBJS = $(KERN_PPE_SRCS:.cc=.o) | |
2 | 9 |
42 | 10 KERN_SCHED_DIR = $(KERN_DIR)/schedule |
109 | 11 KERN_SCHED_SRCS = $(wildcard $(KERN_SCHED_DIR)/*.cc) |
12 KERN_SCHED_OBJS = $(KERN_SCHED_SRCS:.cc=.o) | |
42 | 13 |
109 | 14 KERN_SYSTASK_DIR = $(KERN_DIR)/sys_task |
15 KERN_SYSTASK_SRCS = $(wildcard $(KERN_SYSTASK_DIR)/*.cc) | |
16 KERN_SYSTASK_OBJS = $(KERN_SYSTASK_SRCS:.cc=.o) | |
17 | |
369 | 18 KERN_MEM_DIR = $(KERN_DIR)/memory |
19 KERN_MEM_SRCS = $(wildcard $(KERN_MEM_DIR)/*.cc) | |
20 KERN_MEM_OBJS = $(KERN_MEM_SRCS:.cc=.o) | |
2 | 21 |
22 IMPL_FIFO_DIR = Fifo | |
109 | 23 IMPL_FIFO_SRCS = $(wildcard $(IMPL_FIFO_DIR)/*.cc) |
24 IMPL_FIFO_OBJS = $(IMPL_FIFO_SRCS:.cc=.o) | |
2 | 25 |
26 IMPL_CELL_DIR = Cell | |
109 | 27 IMPL_CELL_SRCS = $(IMPL_FIFO_SRCS) $(wildcard $(IMPL_CELL_DIR)/*.cc) |
28 IMPL_CELL_OBJS = $(IMPL_CELL_SRCS:.cc=.o) | |
2 | 29 |
634 | 30 ABIBIT = 32 |
606
242a9db53612
32bit/64bit ABI (64 bit is not tested yet).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
440
diff
changeset
|
31 |
860 | 32 #OPT = -O9 |
890
a5ccf763fc3f
minor fix. possible schedTaskArray overrun
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
889
diff
changeset
|
33 OPT = -g -O9 -DTASK_LIST_MAIL |
664 | 34 |
109 | 35 CC = g++ |
713
97adb3fe85c6
remove SIMPLE_TASK conditional
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
708
diff
changeset
|
36 CFLAGS = -Wall `sdl-config --cflags` -m$(ABIBIT) $(OPT) |
634 | 37 LIBS = -m$(ABIBIT) |
2 | 38 |
440
a1c670e29cde
fix get_segment exaple PPE task
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
369
diff
changeset
|
39 INCLUDE = -I../include/TaskManager |