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