-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (27 loc) · 951 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (27 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Variables, which can be set on command line or here:
#
# OUTDIR
# Where the resulting library, libcxxabi.a, should be placed
#
# CXXPPFLAGS
# Preprocessor options; should generally include "-nostdinc++" and include path(s) for (suitable)
# C++ standard library (and unwind library, though GCC provides unwind.h so this should not really
# be required).
#
# CXXFLAGS
# C++ compilation options. Should include necessary architectural options. For x86-64, probably
# should include "-march=x86-64 -mno-sse -mno-red-zone". Should disable any features which may
# require additional runtime support.
#
# CXX
# The c++ compiler, eg g++/clang++
#
# Eg values:
# CCPPFLAGS=-nostdinc++ -I/some/dir/libunwind/include -isystem /some/dir/libbmcxx/include
# CCFLAGS=-g -march=x86-64 -mno-sse -mno-red-zone -ffreestanding -fno-stack-protector
CXX=g++
export OUTDIR CXX CXXFLAGS CXXPPFLAGS
all:
$(MAKE) -C src all
clean:
$(MAKE) -C src clean