File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / Graph / Makefile.postamble
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


# the vers.c file is created by running the vers_string command.  This command
# strips off the version from the name of the directory in which we are
# building.  (See the vers_string man page.)
vers.c:
	vers_string -c Graph > $(SYMROOT)/$@
	
# making this forces creation of a new vers.c, with up to date version info
force_version::
	-/bin/rm -f $(SYMROOT)/vers.c

# whenever we install, we make sure the version info is up to date
install:: force_version

# dependencies to force lex'ing before yacc'ing, so things build correctly
token.m: y.tab.h
y.tab.h: expr.m

# copy some test documents along with our source when we install
# set files to be readonly and directories to be searchable
installsrc::
	mkdirs $(SRCROOT)/DemoDocs
	cp -r DemoDocs/*.xyzgraph DemoDocs/*.xygraph $(SRCROOT)/DemoDocs
	(cd $(SRCROOT)/DemoDocs; find * ! -type d -exec /bin/chmod 444 {} \; ; find * -type d -exec /bin/chmod 755 {} \; ;)


unix.superglobalmegacorp.com

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