mirror of https://github.com/dirtbags/moth.git
21 lines
487 B
Makefile
21 lines
487 B
Makefile
|
CTFBASE_PKGDIR = $(TARGET)/ctfbase
|
||
|
|
||
|
ctfbase-install: ctfbase-build
|
||
|
mkdir -p $(CTFBASE_PKGDIR)/bin/
|
||
|
|
||
|
$(call COPYTREE, packages/ctfbase/service, $(CTFBASE_PKGDIR)/service)
|
||
|
|
||
|
cp packages/ctfbase/setup $(CTFBASE_PKGDIR)/
|
||
|
|
||
|
cp packages/ctfbase/src/tokencli $(CTFBASE_PKGDIR)/bin/
|
||
|
cp packages/ctfbase/src/arc4 $(CTFBASE_PKGDIR)/bin/
|
||
|
|
||
|
ctfbase-clean:
|
||
|
rm -rf $(CTFBASE_PKGDIR)
|
||
|
$(MAKE) -C packages/ctfbase/src clean
|
||
|
|
||
|
ctfbase-build:
|
||
|
$(MAKE) -C packages/ctfbase/src build
|
||
|
|
||
|
PACKAGES += ctfbase
|