Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
features/FEATURE_COMMON_PAL/mbed-client-c/Makefile
- Committer:
- group-onsemi
- Date:
- 2017-01-25
- Revision:
- 0:098463de4c5d
File content as of revision 0:098463de4c5d:
# # Makefile for combined NSDL+COAP library # # Define compiler toolchain with CC or PLATFORM variables # Example (GCC toolchains, default $CC and $AR are used) # make # # OR (Cross-compile GCC toolchain) # make PLATFORM=arm-linux-gnueabi- # # OR (armcc/Keil) # make CC=armcc AR=ArmAR # # OR (IAR-ARM) # make CC=iccarm LIB = libnsdl.a SRCS := \ source/libNsdl/src/sn_grs.c \ source/libNsdl/src/sn_nsdl.c \ source/libCoap/src/sn_coap_protocol.c \ source/libCoap/src/sn_coap_parser.c \ source/libCoap/src/sn_coap_header_check.c \ source/libCoap/src/sn_coap_builder.c \ override CFLAGS += -DVERSION='"$(VERSION)"' override CFLAGS += -Isource/libNsdl/src/include/ override CFLAGS += -Isource/libCoap/src/include/ SERVLIB_DIR := ../libService override CFLAGS += -I$(SERVLIB_DIR)/libService override CFLAGS += -Insdl-c/ include ../libService/toolchain_rules.mk $(eval $(call generate_rules,$(LIB),$(SRCS))) .PHONY: release release: 7z a nsdl-c_$(VERSION).zip *.a *.lib include .PHONY: deploy_to deploy_to: all tar --transform 's,^,nsdl-c/,' --append -f $(TO) *.a nsdl-c