``makefile''

In Unix, a file named ``makefile'' traditionally holds the instructions for combing all of the files to make the final program. A simple makefile will do for the present purposes. It should read
rk4debug: rk4debug.c p480.o nrutil.o p480.h nrutil.h
        cc -o rk4debug rk4debug.c p480.o nrutil.o -lm
This specifies that the program rkrdebug depends on the C-code in ``rk4debug.c'' as well as the routines in p480.o and nrutil.o and the specifications in p480.h and nrutil.h. Typing ``make rk4debug'' at the Unix prompt should suffice to compile your code completely. You may then type ``./rk4debug'' to run it. Feel free to modify your makefile as you wish.

Note: For the makefile to function properly, the space before the ``cc'' should be a ``tab'' character.



Tomas Arias 2005-02-07