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