Mercurial > hg > Game > Cerium
annotate TaskManager/Makefile.def @ 626:0e91ddaad798 draft
64bit mode compatibility on Cell
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 16 Nov 2009 11:37:26 +0900 |
parents | 94d82f2c842f |
children | 62e570ac5db2 |
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 |
626
0e91ddaad798
64bit mode compatibility on Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
625
diff
changeset
|
30 ABI = |
606
242a9db53612
32bit/64bit ABI (64 bit is not tested yet).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
440
diff
changeset
|
31 |
109 | 32 CC = g++ |
625
94d82f2c842f
64bit mode worked on Mac OS X.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
611
diff
changeset
|
33 CFLAGS = -Wall `sdl-config --cflags` -g $(ABI) # -O9 |
2 | 34 LIBS = |
35 | |
440
a1c670e29cde
fix get_segment exaple PPE task
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
369
diff
changeset
|
36 INCLUDE = -I../include/TaskManager |