summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Lee <github@tomlee.co>2018-09-26 13:25:24 -0700
committerTom Lee <github@tomlee.co>2018-09-26 13:25:24 -0700
commit3bcf286356f0780ff695c73a7dc178c1f970315b (patch)
treeb610a97938b1e4c622ebeb91d9a879e367ab55ec /Makefile
parentfbf2d037e7de6b7b7f9177a2263a6113f99a7ceb (diff)
Add CPPFLAGS to REAL_CFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b2e45f0..06ca994 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || ec
OPTIMIZATION?=-O3
WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings
DEBUG_FLAGS?= -g -ggdb
-REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS)
+REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CPPFLAGS) $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS)
REAL_LDFLAGS=$(LDFLAGS)
DYLIBSUFFIX=so