diff makefile @ 2906:67dfbd60d548

Set default NITROS9DIR in Makefile not rules.mak In most cases rules.mak anyway couldn't be found if NITROS9DIR was unset. So set it in the top-level makefile instead, and let it default to the current directory, where the top-level make is run.
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 11 Jan 2014 20:56:53 +0100
parents d76362b779c0
children 14b4f2791bb3
line wrap: on
line diff
--- a/makefile	Sat Jan 11 20:56:53 2014 +0100
+++ b/makefile	Sat Jan 11 20:56:53 2014 +0100
@@ -1,3 +1,10 @@
+
+ifndef NITROS9DIR
+NITROS9DIR = $(PWD)
+endif
+
+export NITROS9DIR
+
 include rules.mak
 
 dirs	=  $(NOSLIB) $(LEVEL1) $(LEVEL2) $(LEVEL3) $(3RDPARTY)