mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-06 20:10:36 -07:00
Neale Pickett
89ebd469d7
Also, modularize the build. This is now a single project for all CTF packages.
16 lines
259 B
Makefile
16 lines
259 B
Makefile
PACKAGES =
|
|
|
|
all: packages
|
|
|
|
define COPYTREE
|
|
mkdir -p $(2)
|
|
(cd $(1) && find . -not -name "*~" | cpio -o) | (cd $(2) && cpio -i)
|
|
endef
|
|
|
|
|
|
include */*.mk
|
|
|
|
packages: $(addsuffix -package, $(PACKAGES))
|
|
|
|
clean: $(addsuffix -clean, $(PACKAGES))
|
|
rm -rf build *.pkg
|