Mercurial > flash_v2
diff examples/Makefile @ 784:e942a29011aa
* Makefile: ECOS_INSTALL -> INSTALL_DIR
| author | jld |
|---|---|
| date | Mon, 03 Mar 2003 08:50:18 +0000 |
| parents | df4428db3e29 |
| children |
line wrap: on
line diff
--- 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
