RPA Toolkit
Added support for ARM architecture.
[rpatk.git] / rpa / build / unix / arm / Makefile
1 ROOT_DIR = ../../../..
2 include $(ROOT_DIR)/build/unix/config.mk
3 INCLUDE = -I$(ROOT_DIR)/arch/unix/$(ARCHDIR)
4 OUTDIR = out
5
6 CFLAGS := $(MACH)
7 ifeq ($(BLDCFG), release)
8 CFLAGS += -fPIC -O2
9 else
10 CFLAGS += -fPIC -O0 -g -Wall 
11 endif
12
13 ifeq ($(CCBLD), yes)
14 CFLAGS += -fprofile-arcs -ftest-coverage
15 endif
16
17 CFLAGS += $(INCLUDE)
18 LDFLAGS := $(MACH)
19
20 include ../rpa.mk