Usage: make [CIMG=1] [NOGSL=1] {target}.{ext} # where the extension {ext} defines what is compiled. Options: CIMG=1 is used to generates drawings/images with CIMG instead of an external call to gnuplot, default is CIMG=0 NOGSL=1 is used to avoid using the GSL and GLPK library (mandatory for solvers and related routines), thus skipping related classes, default is NOGSL=0 Compilation: {target}.exe : Compiles an optimized version of the main program {target}.bin : Compiles an optimized static version of the main program {target}.o : Compiles an optimized version of one source file {target}.doc : Compiles and generates the related documentation of one source file Compilation and run: {target}.run : Compiles and runs an optimized version of the main program, in the terminal {target}.win : Compiles and runs an optimized version of the main program, in a xterm windows {target}.gdb : Compiles and runs though the GDB debugger a main program, in the terminal {target}.mdb : Compiles and runs though the VALGRIND memory checker a main program, in the terminal Other usages: make (clean|dlean) -- To clean all *.bin and temporary files (with dlean, *.dat and *.plt files are also deleted) make help-(enas|c++|cimg|doxygen) -- To firefox useful documentation pages How to use this makefile with your code: Direct use, in a terminal command line: make -f NAS/inc/makefile [CIMG=1] [NOGSL=1] {target}.{ext} in your source directory In another makefile, use the directive: include /inc/makefile