Passing parameters to make

All the umake options of the form 'var=value' will be passed to make. To pass flages to the compiler and the linker, use the variables EXTRA_CPPFLAGS and EXTRA_LDFLAGS.

$ ls foo.cc foo.hh $ umake --core webots *.cc
EXTRA_CPPFLAGS=-I/usr/local/webots/include -o urbi -V

/usr/local/bin/umake: run.  /usr/local/bin/umake: libs=''
/usr/local/bin/umake: sources=' 'foo.cc'' /usr/local/bin/umake:
headers='' /usr/local/bin/umake: objects=''foo.o''
/usr/local/bin/umake: make options='
'EXTRA_CPPFLAGS=-I/usr/local/webots/include
-I/home/thomas/project/liburbi-cpp/trunk/lib' OUTBIN=urbi
URBI_ENV=webots prefix=/usr/local' /usr/local/bin/umake: invoking make
-f /usr/local/gostai/core/linux/param.mk urbi
/usr/local/gostai/core/linux/libtool --mode=link --tag=CXX g++ -O2
-pthread -L/usr/local/gostai/core/linux/webots -o urbi foo.o
/usr/local/gostai/core/linux/webots/*.la libtool: link: warning:
library `/usr/local/gostai/core/linux/webots/liburbicore.la' was
moved.  libtool: link: warning: library
`/usr/local/gostai/core/linux/webots/liburbicore.la' was moved.  g++
-O2 -pthread -o urbi foo.o -L/usr/local/gostai/core/linux/webots
/usr/local/gostai/core/linux/webots/liburbicore.a
-L/tmp/urbi/gostai/core/linux/webots
-L/tmp/urbi/gostai/kernel/linux/engine -L/usr/local/webots/lib
-lController /usr/local/bin/umake: done.

$ ls
foo.cc foo.hh foo.lo foo.o urbi