moth/Makefile

30 lines
581 B
Makefile
Raw Normal View History

2010-10-25 17:17:10 -06:00
# Scratch directory for building extrenal sources
2010-10-21 22:15:18 -06:00
BUILD = build
2010-10-25 17:17:10 -06:00
# Root to install things before they're packaged
TARGET = target
# Downloaded source files go here
CACHE = cache
# The end result
2010-10-21 22:15:18 -06:00
BIN = bin
2010-10-25 17:17:10 -06:00
all: packages
dist: ctf-install.zip
ctf-install.zip: packages.zip /usr/lib/syslinux/mbr.bin
zip --junk-paths $@ packages.zip /usr/lib/syslinux/mbr.bin install.sh
packages.zip: packages bzImage rootfs.squashfs
zip --junk-paths $@ bin/*.pkg bzImage rootfs.squashfs
2010-10-25 17:17:10 -06:00
clean: packages-clean
rm -rf $(BUILD) $(TARGET) $(BIN)
scrub: clean
rm -rf $(CACHE)
2011-01-24 12:46:18 -07:00
-include */*.mk