mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-08 21:11:06 -07:00
20 lines
524 B
Makefile
20 lines
524 B
Makefile
PWNABLES_PKGDIR = $(TARGET)/pwnables
|
|
|
|
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
|