[37] | 1 | #! gmake |
---|
| 2 | |
---|
| 3 | # |
---|
| 4 | # Brian Curless |
---|
| 5 | # |
---|
| 6 | # Computer Graphics Laboratory |
---|
| 7 | # Stanford University |
---|
| 8 | # |
---|
| 9 | # --------------------------------------------------------------------- |
---|
| 10 | # |
---|
| 11 | # Copyright (1997) The Board of Trustees of the Leland Stanford Junior |
---|
| 12 | # University. Except for commercial resale, lease, license or other |
---|
| 13 | # commercial transactions, permission is hereby given to use, copy, |
---|
| 14 | # modify this software for academic purposes only. No part of this |
---|
| 15 | # software or any derivatives thereof may be used in the production of |
---|
| 16 | # computer models for resale or for use in a commercial |
---|
| 17 | # product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND |
---|
| 18 | # CONCERNING THIS SOFTWARE. No support is implied or provided. |
---|
| 19 | # |
---|
| 20 | |
---|
| 21 | # Make all subdirectories |
---|
| 22 | # Requires gnu make (e.g. /usr/common/bin/make) |
---|
| 23 | # Run "make install" to make clobber, depend, all |
---|
| 24 | |
---|
| 25 | SUBDIRS = \ |
---|
| 26 | include \ |
---|
| 27 | src \ |
---|
| 28 | lib \ |
---|
| 29 | bin \ |
---|
| 30 | |
---|
| 31 | default: |
---|
| 32 | @for d in $(SUBDIRS); do (cd $$d; $(MAKE) default); done |
---|
| 33 | |
---|
| 34 | clean: |
---|
| 35 | @for d in $(SUBDIRS); do (cd $$d; $(MAKE) clean); done |
---|
| 36 | |
---|
| 37 | clobber: |
---|
| 38 | @for d in $(SUBDIRS); do (cd $$d; $(MAKE) clobber); done |
---|
| 39 | cd include; make |
---|
| 40 | cd lib; make |
---|
| 41 | |
---|
| 42 | depend: |
---|
| 43 | @for d in $(SUBDIRS); do (cd $$d; $(MAKE) depend); done |
---|
| 44 | |
---|
| 45 | install: |
---|
| 46 | @for d in $(SUBDIRS); do (cd $$d; $(MAKE) install); done |
---|
| 47 | |
---|
| 48 | all: |
---|
| 49 | @for d in $(SUBDIRS); do (cd $$d; $(MAKE) all); done |
---|
| 50 | |
---|
| 51 | tar: |
---|
| 52 | cd .. && tar zcvf vrip_plytools_src.tar.gz `find ply -name CVS -prune -o -type f -print` |
---|