mirror of https://github.com/dirtbags/moth.git
Rename pwnables to armadillo
This commit is contained in:
parent
ae3a3c8f25
commit
557b4cf4ec
|
@ -0,0 +1,20 @@
|
||||||
|
ARMADILLO_PKGDIR = $(TARGET)/armadillo
|
||||||
|
|
||||||
|
armadillo-install: armadillo-build
|
||||||
|
mkdir -p $(ARMADILLO_PKGDIR)
|
||||||
|
|
||||||
|
mkdir -p $(ARMADILLO_PKGDIR)/bin/
|
||||||
|
$(MAKE) -C packages/armadillo/src install DESTDIR=$(CURDIR)/$(ARMADILLO_PKGDIR)
|
||||||
|
|
||||||
|
$(call COPYTREE, packages/armadillo/tokens, $(ARMADILLO_PKGDIR)/tokens)
|
||||||
|
|
||||||
|
$(call COPYTREE, packages/armadillo/service, $(ARMADILLO_PKGDIR)/service)
|
||||||
|
|
||||||
|
armadillo-clean:
|
||||||
|
rm -rf $(ARMADILLO_PKGDIR)
|
||||||
|
$(MAKE) -C packages/armadillo/src clean
|
||||||
|
|
||||||
|
armadillo-build:
|
||||||
|
$(MAKE) -C packages/armadillo/src build
|
||||||
|
|
||||||
|
PACKAGES += armadillo
|
|
@ -1,5 +1,5 @@
|
||||||
CFLAGS = -Wall -Werror
|
CFLAGS = -Wall -Werror
|
||||||
TARGETS = gimmie ltraceme straceme killme
|
TARGETS = gimmie straceme killme
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@ build: $(TARGETS)
|
||||||
|
|
||||||
gimmie: gimmie.o token.o arc4.o
|
gimmie: gimmie.o token.o arc4.o
|
||||||
octopus: octopus.o token.o arc4.o
|
octopus: octopus.o token.o arc4.o
|
||||||
ltraceme: ltraceme.o token.o arc4.o
|
|
||||||
straceme: straceme.o token.o arc4.o
|
straceme: straceme.o token.o arc4.o
|
||||||
killme: killme.o token.o arc4.o
|
killme: killme.o token.o arc4.o
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <sysexits.h>
|
#include <sysexits.h>
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
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
|
|
Loading…
Reference in New Issue