moth/Makefile

32 lines
681 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
2011-09-22 18:32:03 -06:00
# Things configure likes to see
CONFIG_XCOMPILE_FLAGS = --host=i386-linux --program-transform-name=
2010-10-25 17:17:10 -06:00
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