|
|
Sample Programs from NeXSTEP 3.3
# # Makefile for BackSpace modules # MODULES= Bezier BoinkSpace FadingImage FlexyCube Life \ SlidingImage Sperm Teapot WorldSpace INSTALLDIR= $(HOME)/Library/BackSpaceViews all: @for file in $(MODULES); do \ echo "# Making $$file" ; \ cd $$file ; \ make all ; \ cd .. ; \ done # You can set DSTROOT to determine where the modules go. # # If DSTROOT is specified, we put the modules in DSTROOT. # otherwise we put them in the standard place, the Library/BackSpaceViews # directory in the user's home. install: @echo "# installing backspace modules" ; \ dirx="$(INSTALLDIR)" ; \ if [ "$(DSTROOT)" != "" ] ; then \ dirx="" ; \ fi ; \ for file in $(MODULES); do \ echo "# Making and installing $$file" ; \ cd $$file ; \ make install INSTALLDIR=$$dirx ; \ cd .. ; \ done clean: @for file in $(MODULES); do \ echo "# Cleaning $$file" ; \ cd $$file ; \ make clean ; \ cd .. ; \ done installsrc: -rm -rf $(SRCROOT) mkdirs $(SRCROOT) cp -rp README.rtf Makefile $(SRCROOT) @echo "# now installing module sources" ; \ for i in $(MODULES) ; \ do (cd $$i; make installsrc SRCROOT=$(SRCROOT)/$$i) ; \ done
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.