Mercurial > hg > Game > Cerium
annotate 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 |
rev | line source |
---|---|
1439 | 1 include ./Makefile.def |
2 TARGET = libGpuManager.a | |
3 CFLAGS += -DHAS_POSIX_MEMALIGN | |
4 | |
5 ifdef LINUX | |
6 CFLAGS += -lrt | |
7 endif | |
8 | |
9 .SUFFIXES: .cc .o | |
10 | |
11 EXTRA_CFLAGS = -D__CERIUM_GPU__ | |
12 | |
13 .cc.o: | |
14 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | |
15 | |
16 | |
17 all: default | |
18 default: $(TARGET) | |
19 | |
20 ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) \ | |
21 $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) \ | |
22 $(IMPL_GPU_OBJS) \ | |
1480
f2512fb94223
GpuTaskManager no compile error
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
1450
diff
changeset
|
23 Cell/spe/SpeTaskManagerImpl.o Cell/CellTaskManagerImpl.o |
1439 | 24 |
25 Makefile.dep: | |
26 make -f Makefile.gpu depend | |
27 | |
28 depend: | |
29 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep | |
30 | |
31 $(TARGET): $(ALL_OBJS) | |
32 ar crus $@ $(ALL_OBJS) | |
33 | |
34 gpudistclean: gpuclean | |
35 rm -f $(TARGET) | |
36 | |
37 gpuclean: |