RPA Toolkit
build changes for macos. jrs is still broken - objcopy doesn't work
[rpatk.git] / tests / testrpa / build / darwin / i386 / Makefile
1 ARCHDIR = $(shell basename $(shell pwd))
2 OUTDIR = out
3 OS = $(shell uname | tr "[:upper:]" "[:lower:]")
4 SRCDIR = ../../../../..
5 MACH = -m32
6
7 CC = gcc
8 AR = ar
9 ifeq ($(BLDCFG), release)
10 CFLAGS = -O3
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 += $(MACH) $(INCLUDE)
24
25 CFLAGS := $(CFLAGS)
26 LDFLAGS = $(MACH)
27
28
29 include ../testrpa2.mk