aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 9642066..a5b9fb7 100644
--- a/config.mk
+++ b/config.mk
@@ -1,11 +1,12 @@
################################################################################
#
-# Copyright (C) 2015 by Intel Corporation, All Rights Reserved.
+# Copyright (C) 2017 by Intel Corporation, All Rights Reserved.
#
# Global configuration Makefile. Included everywhere.
#
################################################################################
+# EDIT HERE:
CC:=gcc
CFLAGS:=-Os -std=c99 -Wall -Wextra -D_ISOC99_SOURCE -MMD -I../lib/include/ -I../lib/source/ -I../tests/include/
vpath %.c ../lib/source/
@@ -19,11 +20,16 @@ ifeq ($(OS),Windows_NT)
DOTEXE:=.exe
endif
-# DO NOT EDIT THIS:
+# DO NOT EDIT AFTER THIS POINT:
ifeq ($(ENABLE_TESTS), true)
CFLAGS += -DENABLE_TESTS
else
CFLAGS += -DDISABLE_TESTS
endif
+export CC
+export CFLAGS
+export VPATH
+export ENABLE_TESTS
+
################################################################################