#
# Makefile - makefile for netboot package
#
# Copyright (C) 1996-2003 Gero Kuhlmann <gero@gkminix.han.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# $Id: Makefile,v 1.1 2003/03/09 00:24:25 gkminix Exp $
#
# Include makefile configuration
include make.config
include make.rules
# Specify all subdirectories where we are going to make something
SUBDIRS = include misc nblib $(CONFSUBDIRS)
.PHONY: bootrom
all:
@for subdir in $(SUBDIRS); do \
echo making $@ in $$subdir; \
(cd $$subdir && $(MAKE) $@) || exit 1; \
done
bootrom:
@(cd makerom && $(MAKE) bootrom) || exit 1;
@if test -r makerom/image.flash; then mv makerom/image.flash .; fi
@if test -r makerom/image.flo; then mv makerom/image.flo .; fi
@if test -r makerom/image.rom; then mv makerom/image.rom .; fi
@if test -r makerom/image.bin; then mv makerom/image.bin .; fi
@if test -r makerom/image.hex; then mv makerom/image.hex .; fi
install: install-recursive
distrib: distrib-recursive
clean: clean-general clean-recursive
rm -f image.rom image.flo image.flash image.bin image.hex
realclean: clean-general realclean-recursive
rm -f make.config
rm -f config.status config.cache config.log
rm -f image.rom image.flo image.flash image.bin image.hex
distclean: clean-general distclean-recursive
rm -f make.config
rm -f config.status config.cache config.log
rm -f image.rom image.flo image.flash image.bin image.hex
syntax highlighted by Code2HTML, v. 0.9.1