Mercurial > hg > Game > Cerium
view TaskManager/Makefile.def @ 1892:a32179f5b743 draft
Gpu worked
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 04 Jan 2014 19:24:57 +0900 |
parents | e0d465efc57e |
children | effb5653fd5c |
line wrap: on
line source
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)/*.cc) KERN_PPE_OBJS = $(KERN_PPE_SRCS:.cc=.o) KERN_SCHED_DIR = $(KERN_DIR)/schedule KERN_SCHED_SRCS = $(wildcard $(KERN_SCHED_DIR)/*.cc) KERN_SCHED_OBJS = $(KERN_SCHED_SRCS:.cc=.o) KERN_SYSTASK_DIR = $(KERN_DIR)/sys_task KERN_SYSTASK_SRCS = $(wildcard $(KERN_SYSTASK_DIR)/*.cc) KERN_SYSTASK_OBJS = $(KERN_SYSTASK_SRCS:.cc=.o) KERN_MEM_DIR = $(KERN_DIR)/memory KERN_MEM_SRCS = $(wildcard $(KERN_MEM_DIR)/*.cc) KERN_MEM_OBJS = $(KERN_MEM_SRCS:.cc=.o) IMPL_FIFO_DIR = Fifo IMPL_FIFO_SRCS = $(wildcard $(IMPL_FIFO_DIR)/*.cc) IMPL_FIFO_OBJS = $(filter-out $(IMPL_FIFO_DIR)/FifoTaskManagerFactory.o,$(IMPL_FIFO_SRCS:.cc=.o)) IMPL_CELL_DIR = Cell IMPL_CELL_SRCS = $(IMPL_FIFO_SRCS) $(wildcard $(IMPL_CELL_DIR)/*.cc) IMPL_CELL_OBJS = $(filter-out $(IMPL_CELL_DIR)/CellTaskManagerFactory.o,$(IMPL_CELL_SRCS:.cc=.o)) IMPL_GPU_DIR = Gpu IMPL_GPU_SRCS = $(wildcard $(IMPL_GPU_DIR)/*.cc) IMPL_GPU_OBJS = $(filter-out $(IMPL_GPU_DIR)/GpuTaskManagerFactory.o,$(IMPL_GPU_SRCS:.cc=.o)) IMPL_MANYCORE_DIR = ManyCore IMPL_MANYCORE_SRCS = $(wildcard $(IMPL_MANYCORE_DIR)/*.cc) IMPL_MANYCORE_OBJS = $(filter-out $(IMPL_MANYCORE_DIR)/ManyCoreTaskManagerFactory.o,$(IMPL_MANYCORE_SRCS:.cc=.o)) ABIBIT = 64 OPT = -g -O0 -DMAIL_QUEUE #-DEARLY_TOUCH #OPT = -O9 -DMAIL_QUEUE #-DEARLY_TOUCH CC = clang++ CXX = clang++ CFLAGS = -Wall `sdl-config --cflags` -m$(ABIBIT) $(OPT) CXXFLAGS = $(CFLAGS) LIBS = -m$(ABIBIT) INCLUDE = -I../include/TaskManager