1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-08 13:00:42 -07:00
moth/pwnables/Makefile
2009-10-08 10:31:28 -06:00

21 lines
411 B
Makefile

CGI = cat.cgi
TARGET = $(CURDIR)/target
FAKE = fakeroot -s $(CURDIR)/fake -i $(CURDIR)/fake
INSTALL = $(FAKE) install
all: pwnables.tce
pwnables.tce: target
$(FAKE) sh -c 'cd target && tar -czf - --exclude=placeholder --exclude=*~ .' > $@
target:
$(INSTALL) -d $(TARGET)
(cd skel; tar cf - .) | (cd $(TARGET); tar xf -)
$(MAKE) -C daemons TARGET=$(TARGET) install
clean:
rm -rf target pwnables.tce