1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/ubasic/Makefile
2019-04-08 17:09:28 +02:00

22 lines
500 B
Makefile

PKG_NAME=ubasic
PKG_URL=https://github.com/adamdunkels/ubasic
PKG_VERSION=cc07193c231e21ecb418335aba5b199a08d4685c
PKG_LICENSE=BSD-3-Clause
UBASIC_MODULES = ubasic_tests
UBASIC_USEMODULE = $(filter $(UBASIC_MODULES),$(USEMODULE))
.PHONY: all ubasic ubasic%
all: git-download ubasic
make_module = "$(MAKE)" -f $(RIOTPKG)/ubasic/$(1).mk -C $(2)
ubasic: $(UBASIC_USEMODULE)
$(call make_module,$@,$(PKG_BUILDDIR))
ubasic%:
$(call make_module,$@,$(PKG_BUILDDIR))
include $(RIOTBASE)/pkg/pkg.mk