1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/ubasic/Makefile
Gaëtan Harter ca5d13cc2a pkg/*: adapt to new state file targets
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00

22 lines
483 B
Makefile

PKG_NAME=ubasic
PKG_URL=https://github.com/adamdunkels/ubasic
PKG_VERSION=cc07193c231e21ecb418335aba5b199a08d4685c
PKG_LICENSE=BSD-3-Clause
include $(RIOTBASE)/pkg/pkg.mk
UBASIC_MODULES = ubasic_tests
UBASIC_USEMODULE = $(filter $(UBASIC_MODULES),$(USEMODULE))
.PHONY: ubasic ubasic%
all: 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))