RPA Toolkit
d1ea48f6b5efe2bf62081155008eaf247ce6f53a
[rpatk.git] / tests / testmisc / build / darwin / i386 / Makefile
1 ARCHDIR = $(shell basename $(shell pwd))
2 OUTDIR = out
3 OS = $(shell uname | tr "[:upper:]" "[:lower:]")
4 SRCDIR = ../../../../..
5
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 ../misc-tests.mk