moth/Makefile

29 lines
580 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
all: packages
dist: ctf-install.zip
2011-02-22 14:05:51 -07:00
ctf-install.zip: packages.zip bzImage rootfs.squashfs /usr/lib/syslinux/mbr.bin
zip --junk-paths $@ packages.zip bzImage rootfs.squashfs /usr/lib/syslinux/mbr.bin install.sh
2011-02-22 14:05:51 -07:00
packages.zip: packages
zip --junk-paths $@ bin/*.pkg
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