|
|
1.1 root 1: # Makefile for programming examples.
2: #
3: # You can copy all of the examples to your home directory by
4: # cd'ing in a Shell or Terminal to this directory and typing
5: #
6: # make installsrc SRCROOT=$HOME/examples
7: #
8: # where $HOME is assumed to expand to your home directory.
9: # Then you can make them all by cd'ing to ~/examples and typing
10: #
11: # make all
12: #
13:
14: SOURCES = Makefile
15: NESTED_DIRS = SoundEditor
16:
17: all clean lean output::
18: @for i in $(NESTED_DIRS); do \
19: (cd ./$$i; echo "$$i:"; \
20: make $(MAKE_FLAGS) $@) || exit $? ; done
21:
22: install installsrc:: $(SRCROOT)
23: tar cf - $(SOURCES) | (cd $(SRCROOT); tar xfp -)
24: (cd $(SRCROOT); chmod 444 $(SOURCES))
25: @for i in $(NESTED_DIRS); do \
26: (cd ./$$i; echo "$$i:"; \
27: make $(MAKE_FLAGS) installsrc SRCROOT=$(SRCROOT)/$$i) || exit $? ; done
28:
29: $(SRCROOT):
30: -mkdirs $(SRCROOT)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.