#␉Makefile for ppc boot program␊ |
␊ |
#␊ |
# these paths are only valid in subdirectories of this directory␊ |
#␊ |
ROOT = $(shell pwd)/../../../␊ |
SRCROOT = ${ROOT}/src␊ |
OBJROOT = $(ROOT)/obj/i386␊ |
SYMROOT = $(ROOT)/sym/i386␊ |
DSTROOT = $(ROOT)/dst/usr/standalone/${ARCH}␊ |
DOCROOT = $(ROOT)/doc␊ |
␊ |
include ${ROOT}/Make.rules␊ |
␊ |
# The order of building is important.␊ |
SUBDIRS =␊ |
␊ |
all: ${OBJROOT} ${SYMROOT}␊ |
␉@for i in ${SUBDIRS};␉␉␉␉␉␉ \␊ |
␉do␉␉␉␉␉␉␉␉ \␊ |
␉␉echo ================= make $@ for $$i =================; \␊ |
␉␉( ␉␉␉␉␉␉␉ \␊ |
␉␉␉cd $$i; ${MAKE}␉␉␉␉␉ \␊ |
␉␉␉$@␉␉␉␉␉␉ \␊ |
␉␉) || exit $$?;␉␉␉␉␉␉ \␊ |
␉done |