File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / BackspaceViews / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:31 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
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


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.