RPA Toolkit
Added support for ARM architecture.
[rpatk.git] / rex / 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
8 CFLAGS := $(MACH)
9 ifeq ($(BLDCFG), release)
10 CFLAGS += -fPIC -O2
11 else
12 CFLAGS += -fPIC -O0 -g -Wall
13 endif
14
15 ifeq ($(CCBLD), yes)
16 CFLAGS += -fprofile-arcs -ftest-coverage
17 endif
18
19 CFLAGS += $(INCLUDE)
20 LDFLAGS := $(MACH)
21
22 include ../rex.mk