forked from wolfSSL/wolfssl
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
97 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,34 @@ | ||
# | ||
# This is a project Makefile. It is assumed the directory this Makefile resides in is a | ||
# project subdirectory. | ||
# This is a project Makefile. | ||
# It is assumed the directory this Makefile resides in is a | ||
# project subdirectory containing an entire project. | ||
# | ||
|
||
PROJECT_NAME := wolfssl_client | ||
|
||
#OS := $(shell uname -s) | ||
#ifeq ($(OS),Linux) | ||
#CFLAGS += -DOS_LINUX | ||
#endif | ||
#ifeq ($(OS),Darwin) | ||
#CFLAGS += -DOS_MACOS | ||
#endif | ||
#ifneq (,$(findstring MINGW,$(OS))) | ||
#CFLAGS += -DOS_WINDOWS_MINGW | ||
#endif | ||
#ifneq (,$(findstring CYGWIN,$(OS))) | ||
#CFLAGS += -DOS_WINDOWS_CYGWIN | ||
#endif | ||
#CFLAGS += -DOS_WINDOWS | ||
# Calling shell causes unintuiive error in Windows: | ||
# OS := $(shell uname -s) | ||
# But OS should already be defined: | ||
ifeq ($(OS),Linux) | ||
CFLAGS += -DOS_LINUX | ||
endif | ||
ifeq ($(OS),Windows_NT) | ||
CFLAGS += -DWOLFSSL_MAKE_SYSTEM_NAME_WINDOWS | ||
endif | ||
ifeq ($(OS),Darwin) | ||
CFLAGS += -DWOLFSSL_MAKE_SYSTEM_NAME_APPLE | ||
endif | ||
ifneq (,$(findstring MINGW,$(OS))) | ||
CFLAGS += -DWOLFSSL_MAKE_SYSTEM_NAME_MINGW | ||
endif | ||
ifneq (,$(findstring CYGWIN,$(OS))) | ||
CFLAGS += -DWOLFSSL_MAKE_SYSTEM_NAME_CYGWIN | ||
endif | ||
|
||
# It is essential that the build process sees the WOLFSSL_USER_SETTINGS | ||
CFLAGS += -DWOLFSSL_USER_SETTINGS | ||
|
||
# if directory not available, please disable the line below. | ||
EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common | ||
|
||
# LDFLAGS += -T ./my.esp8266.project.ld | ||
|
||
include $(IDF_PATH)/make/project.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters