moth/packages/pwnables/pwnables.mk

21 lines
524 B
Makefile
Raw Normal View History

2010-10-25 17:17:10 -06:00
PWNABLES_PKGDIR = $(TARGET)/pwnables
2010-10-21 22:15:18 -06:00
pwnables-install: pwnables-build
mkdir -p $(PWNABLES_PKGDIR)
mkdir -p $(PWNABLES_PKGDIR)/bin/
$(MAKE) -C packages/pwnables/src install DESTDIR=$(CURDIR)/$(PWNABLES_PKGDIR)
$(call COPYTREE, packages/pwnables/tokens, $(PWNABLES_PKGDIR)/tokens)
$(call COPYTREE, packages/pwnables/service, $(PWNABLES_PKGDIR)/service)
pwnables-clean:
rm -rf $(PWNABLES_PKGDIR)
$(MAKE) -C packages/pwnables/src clean
pwnables-build:
$(MAKE) -C packages/pwnables/src build
PACKAGES += pwnables