bzr branch
http://suren.me/webbzr/ani/mrses
1
by Suren A. Chilingaryan
Initial import |
1 |
include ../Makefile.in
|
2 |
||
3 |
VPATH := .. |
|
4 |
||
5 |
ifdef BUILD_SPE
|
|
6 |
PROGRAM_ppu := test |
|
7 |
else
|
|
8 |
PROGRAM := test |
|
9 |
TARGET_PROCESSOR:= host |
|
10 |
endif
|
|
11 |
||
12 |
OBJS := test.o |
|
13 |
||
14 |
########################################################################
|
|
15 |
# Local Defines
|
|
16 |
########################################################################
|
|
17 |
||
18 |
||
19 |
LDFLAGS := -L/usr/lib/octave-3.0.3 $(LDFLAGS_MATH) |
|
20 |
IMPORTS := ../ppu/lib_mrses_ppu.a |
|
21 |
||
22 |
ifdef BUILD_SPE
|
|
23 |
IMPORTS += ../spu/lib_mrses_spu.a |
|
24 |
endif
|
|
25 |
||
26 |
IMPORTS += $(IMPORTS_MATH) -lpthread |
|
27 |
||
28 |
ifdef BUILD_SPE
|
|
29 |
IMPORTS += -lspe2 |
|
30 |
endif
|
|
31 |
||
32 |
||
33 |
#INSTALL_DIR = $(EXP_SDKBIN)/tutorial
|
|
34 |
#INSTALL_FILES = $(PROGRAM_ppu)
|
|
35 |
||
36 |
########################################################################
|
|
37 |
# buildutils/make.footer
|
|
38 |
########################################################################
|
|
39 |
||
40 |
ifdef CELL_TOP
|
|
41 |
include $(CELL_TOP)/buildutils/make.footer
|
|
42 |
else
|
|
43 |
include ../buildutils/make.footer
|
|
44 |
endif
|