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