Hi
I have no idea how to use the make command.
For the SYSVALS sample I was guessing it was as simple as:
make SYSVALS.MAK
But I get
make: Nothing to be done for `SYSVALS.MAK'.
I modified SYSVALS.MAK like this:
#------------------------
# SYSVALS.MAK make file
#------------------------
PRGCC=gcc
PRGLINK=link
sysvals.exe : sysvals.obj sysvals.def
$(PRGLINK) sysvals, sysvals, NUL, sysvals
sysvals.obj : sysvals.c sysvals.h
$(PRGCC) sysvals.c
Any tips?
Regards
The make utility is designed to handle the variable compilation of a system by looking at what files have changed, and then only compiling minimally the requirements of the project. If you have ten .c files which create ten .obj files, and of those ten .c files some of them have dependencies on other .h files, then whenever a .h file is changed, it will recompile anything that will be affected by that change.
In the example you post here, it may be saying that the .obj files are already built, and that the .exe file is already built, and that nothing has changed, so there is nothing to do.
If you load sysvals.c or sysvals.h into a text editor, and simply re-save it, and then run make, it may recompile and rebuild.
Best regards,
Rick C. Hodgni