moth/packages/printf/printf.mk

21 lines
488 B
Makefile
Raw Normal View History

2010-10-25 17:17:10 -06:00
PRINTF_PKGDIR = $(TARGET)/printf
2010-10-21 22:15:18 -06:00
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/tokens, $(PRINTF_PKGDIR)/tokens)
$(call COPYTREE, packages/printf/service, $(PRINTF_PKGDIR)/service)
printf-clean:
rm -rf $(PRINTF_PKGDIR)
$(MAKE) -C packages/printf/src clean
printf-build:
$(MAKE) -C packages/printf/src build
PACKAGES += printf