make and execute a program
labmex [<option>] ... <executable> [<arguments>]
make <make_options> clean' before, after, or before and after compiling the target
'.'or, if called by labrun, the directory in which labrun's log files are stored). This log file is not created if compilation succeeds.
<exectuable>); multiple -t options are allowed
@ FILE(some) command-line options are read from
FILE(see section ).
Program is compiled and run. If the
--keep option is used or
the compilation fails, a compile log and a link to this file called
current.clog is created in the current directory, the log
directory of labrun if called from labrun, or the
log directory specified on the command line.
labmex --clean both timings 10 20 5
Performs a make clean and then a make timings. Runs the program timings with arguments 10 20 5. Then does a second make clean.
labmex -x benchmark -m -DCXXFLAGS=-O3 -t timings ~/src/timings
Performs a make -DCXXFLAGS=-O3 timings in the current directory.
Moves to the directory benchmark and executes the command
~/src/timings in that directory.
labmex -M gmake -m -C.. -m '-DCXXFLAGS=-NDEBUG -NDEBUG2'
-x .. -t all timings
gmake -C.. '-DCXXFLAGS=-NDEBUG -NDEBUG2' all command in the
current directory, which compiles the target all in the parent
directory (the -C.. option of gmake). Moves to the
parent directory and executes the command timings.