/ani/mrses

To get this branch, use:
bzr branch http://suren.me/webbzr/ani/mrses

« back to all changes in this revision

Viewing changes to cell/test/Makefile

  • Committer: Suren A. Chilingaryan
  • Date: 2010-04-28 04:30:08 UTC
  • Revision ID: csa@dside.dyndns.org-20100428043008-vd9z0nso9axezvlp
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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