These Makefiles for Cygwin should reduce compile time for your .qvms by only rebuilding files whose source has changed. If you don't know what Cygwin is, or why Makefiles are good, you don't need them.
Untar the archive directly into your source tree. For example:
tar zxf jomakefiles-2002-06-03.tar.gz -C $JK2/GameData/mymod
You must set your PATH manually before running make. You don't
need to set an explicit path; export PATH=../../bin:$PATH
is
sufficient if the tools live in $JK2/GameData/bin
and you are
compiling in $JK2/code
.
Modified .q3asm rules are included in the archive. You must replace the existing ones with these or you won't be able to build the source with make. Don't forget to update these AND the Makefiles if you add new .c files.
I didn't forget to include a rule for *_syscalls.asm
.
These files come precompiled with the source. Don't modify or delete them if
you don't know what you are doing. It is safe to run make clean
though. The rule will not delete them.
The .qvms are built in $JK2/code/base/vm
as usual. It
would be trivial to add a rule to $JK2/code/Makefile
to copy them
to your mod directory.
Send any comments to jk2@furrycat.net.
Please note I have configured ICQ to ignore messages from individuals not on my contact list.