Mercurial > hg > Game > Cerium
annotate TaskManager/Makefile.def @ 664:beb0f17c19f9 draft
word count
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 03 Dec 2009 00:20:28 +0900 |
parents | ad4b6b556483 |
children | 77d9e3bc25b2 |
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 |
649 | 32 # SIMPLE_TASK=-DSIMPLE_TASK |
33 SIMPLE_TASK= | |
641
0605f27ba7d9
Regression on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
634
diff
changeset
|
34 |
664 | 35 # OPT = -O9 |
36 OPT = -g | |
37 | |
109 | 38 CC = g++ |
664 | 39 CFLAGS = $(SIMPLE_TASK) -Wall `sdl-config --cflags` -m$(ABIBIT) $(OPT) |
634 | 40 LIBS = -m$(ABIBIT) |
2 | 41 |
440
a1c670e29cde
fix get_segment exaple PPE task
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
369
diff
changeset
|
42 INCLUDE = -I../include/TaskManager |