# vim: ft=make ts=4 sw=4 noet
#
# Top-level Makefile for OZSW packages.
# Run 'gmake -C <pkgname> [all|fetch|clean]' or 'gmake <pkgname>' from here.
#
# Bootstrap build order:
#   zlib -> binutils -> gcc -> cacert -> openssl -> curl -> (rest)

PKGS = zlib binutils gcc cacert openssl curl gmake

$(PKGS):
	$(MAKE) -C $@ all

fetch-all:
	for p in $(PKGS); do $(MAKE) -C $$p fetch; done

.PHONY: $(PKGS) fetch-all
