moth/packages/printf/printf.mk

20 lines
468 B
Makefile

PRINTF_PKGDIR = $(TARGET)/printf
printf-install: printf-build
mkdir -p $(PRINTF_PKGDIR)
mkdir -p $(PRINTF_PKGDIR)/bin/
$(MAKE) -C packages/printf/src install DESTDIR=$(CURDIR)/$(PRINTF_PKGDIR)
$(call COPYTREE, packages/printf/service, $(PRINTF_PKGDIR)/service)
cp packages/printf/tokens.txt $(PRINTF_PKGDIR)/
printf-clean:
rm -rf $(PRINTF_PKGDIR)
$(MAKE) -C packages/printf/src clean
printf-build:
$(MAKE) -C packages/printf/src build
PACKAGES += printf