File:  [NeXTSTEP 3.3 examples] / Examples / SoundAndMusic / SoundLibrary / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:25 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

#	Makefile for Sound programming examples.
#
#	You can copy all of the examples to your home directory by
#	cd'ing in a Terminal to this directory and typing
#
#	make installsrc SRCROOT=$HOME/sound_examples
#
#	where $HOME is assumed to expand to your home directory.
#	Then you can make them all by cd'ing to ~/sound_examples and typing
#
#	make all
#

ALL = playtest recordtest chaintest converttest hosttest \
      compresstest recordfiletest recordchaintest

SRCS = $(ALL:=.c) README

INSTALLDIR = $(HOME)/bin
INSTALLFLAGS = -c -s -m 755

all:
	make $(ALL)

$(ALL):
	cc -O -g -o $@ [email protected] -lsys_s

clean:
	rm -f $(ALL)

playtest: playtest.c
recordtest: recordtest.c
chaintest: chaintest.c
converttest: converttest.c
hosttest: hosttest.c
compresstest: compresstest.c
recordfiletest: recordfiletest.c
recordchaintest: recordchaintest.c

installsrc:
	-rm -rf $(SRCROOT)
	mkdirs -m 755 $(SRCROOT)
	tar cf - $(SRCS) Makefile | (cd $(SRCROOT); tar xfp -)
	chmod 444 $(SRCROOT)/*

install: all $(DSTROOT)$(INSTALLDIR)
	install $(INSTALLFLAGS) $(ALL) $(DSTROOT)$(INSTALLDIR)
	
$(DSTROOT)$(INSTALLDIR):
	mkdirs -m 775 $(DSTROOT)$(INSTALLDIR)

unix.superglobalmegacorp.com

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