|
|
1.1 ! root 1: # Makefile for Sound programming examples. ! 2: # ! 3: # You can copy all of the examples to your home directory by ! 4: # cd'ing in a Terminal to this directory and typing ! 5: # ! 6: # make installsrc SRCROOT=$HOME/sound_examples ! 7: # ! 8: # where $HOME is assumed to expand to your home directory. ! 9: # Then you can make them all by cd'ing to ~/sound_examples and typing ! 10: # ! 11: # make all ! 12: # ! 13: ! 14: ALL = playtest recordtest chaintest converttest hosttest \ ! 15: compresstest recordfiletest recordchaintest ! 16: ! 17: SRCS = $(ALL:=.c) README ! 18: ! 19: INSTALLDIR = $(HOME)/bin ! 20: INSTALLFLAGS = -c -s -m 755 ! 21: ! 22: all: ! 23: make $(ALL) ! 24: ! 25: $(ALL): ! 26: cc -O -g -o $@ [email protected] -lsys_s ! 27: ! 28: clean: ! 29: rm -f $(ALL) ! 30: ! 31: playtest: playtest.c ! 32: recordtest: recordtest.c ! 33: chaintest: chaintest.c ! 34: converttest: converttest.c ! 35: hosttest: hosttest.c ! 36: compresstest: compresstest.c ! 37: recordfiletest: recordfiletest.c ! 38: recordchaintest: recordchaintest.c ! 39: ! 40: installsrc: ! 41: -rm -rf $(SRCROOT) ! 42: mkdirs -m 755 $(SRCROOT) ! 43: tar cf - $(SRCS) Makefile | (cd $(SRCROOT); tar xfp -) ! 44: chmod 444 $(SRCROOT)/* ! 45: ! 46: install: all $(DSTROOT)$(INSTALLDIR) ! 47: install $(INSTALLFLAGS) $(ALL) $(DSTROOT)$(INSTALLDIR) ! 48: ! 49: $(DSTROOT)$(INSTALLDIR): ! 50: mkdirs -m 775 $(DSTROOT)$(INSTALLDIR)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.