|
|
Sample Programs from NeXSTEP 3.3
# 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 444 $(SOURCES)) @for i in $(NESTED_DIRS); do \ (cd ./$$i; echo "$$i:"; \ make $(MAKE_FLAGS) installsrc SRCROOT=$(SRCROOT)/$$i) || exit $? ; done $(SRCROOT): -mkdirs $(SRCROOT)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.