home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.0
/
NeXTSTEP3.0.iso
/
NextDeveloper
/
Examples
/
SoundAndMusic
/
SoundKit
/
Makefile
Wrap
Makefile
|
1992-02-19
|
807b
|
31 lines
# Makefile for programming examples.
#
# You can copy all of the examples to your home directory by
# cd'ing in a Shell or Terminal to this directory and typing
#
# make installsrc SRCROOT=$HOME/examples
#
# where $HOME is assumed to expand to your home directory.
# Then you can make them all by cd'ing to ~/examples and typing
#
# make all
#
SOURCES = Makefile
NESTED_DIRS = SoundEditor
all clean lean output::
@for i in $(NESTED_DIRS); do \
(cd ./$$i; echo "$$i:"; \
make $(MAKE_FLAGS) $@) || exit $? ; done
install installsrc:: $(SRCROOT)
tar cf - $(SOURCES) | (cd $(SRCROOT); tar xfp -)
(cd $(SRCROOT); chmod 644 $(SOURCES))
@for i in $(NESTED_DIRS); do \
(cd ./$$i; echo "$$i:"; \
make $(MAKE_FLAGS) installsrc SRCROOT=$(SRCROOT)/$$i) || exit $? ; done
$(SRCROOT):
-mkdirs $(SRCROOT)