Mercurial > hg > Game > Cerium
view TaskManager/Makefile.gpu @ 1480:f2512fb94223 draft
GpuTaskManager no compile error
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 25 Jul 2012 19:41:04 +0900 |
parents | 27ed99a7a48c |
children | a9da5c6bea91 |
line wrap: on
line source
include ./Makefile.def TARGET = libGpuManager.a CFLAGS += -DHAS_POSIX_MEMALIGN ifdef LINUX CFLAGS += -lrt endif .SUFFIXES: .cc .o EXTRA_CFLAGS = -D__CERIUM_GPU__ .cc.o: $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ all: default default: $(TARGET) ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) \ $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) \ $(IMPL_GPU_OBJS) \ Cell/spe/SpeTaskManagerImpl.o Cell/CellTaskManagerImpl.o Makefile.dep: make -f Makefile.gpu depend depend: $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep $(TARGET): $(ALL_OBJS) ar crus $@ $(ALL_OBJS) gpudistclean: gpuclean rm -f $(TARGET) gpuclean: