1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-08 04:51:06 -07:00
moth/packages/printf/printf.mk
2010-10-25 17:17:10 -06:00

20 lines
488 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/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