RPA Toolkit
Added support for ARM architecture.
[rpatk.git] / tests / testrpa / build / unix / arm / Makefile
1 ARCHDIR = $(shell basename $(shell pwd))
2 OUTDIR = out
3 OS = $(shell uname | tr "[:upper:]" "[:lower:]")
4 ROOT_DIR = ../../../../..
5
6 include $(ROOT_DIR)/build/unix/config.mk
7
8 ifeq ($(BLDCFG), release)
9 CFLAGS = -O2
10 else
11 ifeq ($(BLDCFG), profile)
12 CFLAGS = -O0 -pg
13 else
14 CFLAGS = -g -O0 -Wall 
15 endif
16 endif
17
18 ifeq ($(CCBLD), yes)
19 CFLAGS += -fprofile-arcs -ftest-coverage
20 endif
21
22 CFLAGS += $(MACH) $(INCLUDE)
23
24 CFLAGS := $(CFLAGS)
25 LDFLAGS = $(MACH)
26
27
28 include ../testrpa2.mk