RPA Git Repository
/
rpatk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
978ea8d58277bd1284ea55965e3905d30b7e331c
[rpatk.git]
/
rgrep
/
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 ../rgrep.mk