Makefile 793 Bytes
#!smake
# --------------------------------------------------------------------
#        Copyright (C) 1997 Nintendo. (Originated by SGI)
#        
#        $RCSfile: Makefile,v $
#        $Revision: 1.1.1.1 $
#        $Date: 2002/05/02 03:27:19 $
# --------------------------------------------------------------------
include $(ROOT)/usr/include/make/PRdefs

SUBDIRS=lib test man src
COMMONPREF = nosPak

default:
	for i in $(SUBDIRS) ; do \
	    echo ==== $$i === ; \
	    cd $$i ; \
	    $(MAKE) default; \
	    cd .. ; \
	done

install:
	$(INSTALL) -m 444 -F /usr/src/PR/demos/nosPak Makefile README
	for i in $(SUBDIRS) ; do \
	    echo ==== $$i === ; \
	    cd $$i ; \
	    $(MAKE) install; \
	    cd .. ; \
	done

$(COMMONTARGS): $(_FORCE)
	$(SUBDIRS_MAKERULE)

include $(COMMONRULES)