mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-08 21:11:06 -07:00
18 lines
440 B
Makefile
18 lines
440 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/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
|