I am on the Reaction team and we are using ioq3 as a base for our mod. In order to build Reaction properly I need to change things like the name of the exe and the basename of the mod in the Makefile. This leads to rather large amounts of changes in the Makefile and every time I apply fixes from ioq3 to Reaction the Makefile part always fails to apply as our Makefile is heavily changed.
With the attached patch, all I need to do is create my Makefile.local and put in 3 variables and the Makefile is almost good enough for us and all the changes I need to do in the Makefile are adding our specific .c files for compilation.
I was thinking that other people could be in our situation so I'm submitting this patch for inclusion in ioquake3.
The patch is attached.
JBravo.
Created attachment 3002[details]
Additional/different Makefile options.
I did the same thing for my own code bases (ioq3ztm, turtlearena), but slightly different. The attached patch adds more options for disabling building basegame, renaming missionpack, and setting cflags for basegame and missionpack. It renames the 3 variables added by the original patch to what I thought was consistent with other the variables.
Created attachment 3001 [details] Patch for the Makefile
Created attachment 3002 [details] Additional/different Makefile options. I did the same thing for my own code bases (ioq3ztm, turtlearena), but slightly different. The attached patch adds more options for disabling building basegame, renaming missionpack, and setting cflags for basegame and missionpack. It renames the 3 variables added by the original patch to what I thought was consistent with other the variables.