-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
37 lines (34 loc) · 1017 Bytes
/
Makefile
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
32
33
34
35
36
37
# Variables, which can be set on command line or here:
#
# OUTDIR
# Where the resulting library, libbmcxx.a, should be placed
#
# CPPFLAGS
# Preprocessor options for C. Generally should *not* include -nostdinc, as the compiler-provided
# headers should be available (unless suitable replacements are provided).
#
# CXXPPFLAGS
# Preprocessor options for C++; should generally include "-nostdinc++".
#
# CFLAGS
# 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.
#
# CXXFLAGS
# C++ compilation options
#
# CC
# The c compiler, eg gcc/clang
#
# CXX
# The c++ compiler, eg g++/clang++
#
# Eg values:
# CXXPPFLAGS=-nostdinc++
# CXXFLAGS=-g -march=x86-64 -mno-sse -mno-red-zone -ffreestanding -fno-stack-protector
export OUTDIR CPPFLAGS CXXPPFLAGS CFLAGS CXXFLAGS CC CXX
all:
$(MAKE) -C src all
clean:
$(MAKE) -C src clean