forked from intel/tinycrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.mk
29 lines (24 loc) · 781 Bytes
/
config.mk
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
################################################################################
#
# Copyright (C) 2015 by Intel Corporation, All Rights Reserved.
#
# Global configuration Makefile. Included everywhere.
#
################################################################################
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/
ENABLE_TESTS=true
# override MinGW built-in recipe
%.o: %.c
$(COMPILE.c) $(OUTPUT_OPTION) $<
ifeq ($(OS),Windows_NT)
DOTEXE:=.exe
endif
# DO NOT EDIT THIS:
ifeq ($(ENABLE_TESTS), true)
CFLAGS += -DENABLE_TESTS
else
CFLAGS += -DDISABLE_TESTS
endif
################################################################################