1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/edhoc-c/Makefile

20 lines
584 B
Makefile
Raw Normal View History

PKG_NAME = EDHOC-C
PKG_URL = https://github.com/future-proof-iot/EDHOC-C.git
PKG_VERSION = 13660352d1c1551b292ba53ece1365f34f60aa2e
PKG_LICENSE = BSD-3-Clause
include $(RIOTBASE)/pkg/pkg.mk
.PHONY: edhoc-c_%
EDHOC_C_MODULES := $(filter edhoc-c_%,$(USEMODULE))
all: $(EDHOC_C_MODULES)
"$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=edhoc-c
edhoc-c_crypto_%:
"$(MAKE)" -C $(PKG_SOURCE_DIR)/src/crypto -f $(RIOTBASE)/Makefile.base MODULE=$@ SRC=$*.c
edhoc-c_cbor_%:
"$(MAKE)" -C $(PKG_SOURCE_DIR)/src/cbor -f $(RIOTBASE)/Makefile.base MODULE=$@ SRC=$*.c