changeset 754:3bfd7b678709

* Makefile: ECOS_INSTALL -> INSTALL_DIR
author jld
date Mon, 03 Mar 2003 08:51:09 +0000
parents 4db19673acc9
children b19840150038
files examples/ChangeLog examples/Makefile
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/examples/ChangeLog
+++ b/examples/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-03  John Dallaway  <jld@ecoscentric.com>
+
+	Makefile: Rename ECOS_INSTALL -> INSTALL_DIR to match
+	documentation.
+
 2003-01-20  John Dallaway  <jld@ecoscentric.com>
 
 	Makefile: Simplify by reference to ecos.mak
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -2,19 +2,19 @@
 # Reference to ecos.mak added by John Dallaway, eCosCentric Limited, 2003-01-20
 # This file is in the public domain and may be used for any purpose
 
-# Usage:   make ECOS_INSTALL=/path/to/ecos/install
+# Usage:   make INSTALL_DIR=/path/to/ecos/install
 
-ECOS_INSTALL=$$(ECOS_INSTALL) # override on make command line
+INSTALL_DIR=$$(INSTALL_DIR) # override on make command line
 
-include $(ECOS_INSTALL)/include/pkgconf/ecos.mak
+include $(INSTALL_DIR)/include/pkgconf/ecos.mak
 
 XCC           = $(ECOS_COMMAND_PREFIX)gcc
 XCXX          = $(XCC)
 XLD           = $(XCC)
 
-CFLAGS        = -I$(ECOS_INSTALL)/include
+CFLAGS        = -I$(INSTALL_DIR)/include
 CXXFLAGS      = $(CFLAGS)
-LDFLAGS       = -nostartfiles -L$(ECOS_INSTALL)/lib -Ttarget.ld
+LDFLAGS       = -nostartfiles -L$(INSTALL_DIR)/lib -Ttarget.ld
 
 # RULES