hifi/ra303p — pull request #1 by Sonarpulse (2012-07-03 08:05:21+00:00)
Title: Red Alert Patches and Patcher tools now clearly seperated

Makesystem adaptable to different working directories
* Makefile use macros for "patch" and "patcher" directories, and have defaults
* Makefiles chained together

Also, if you remember my planned hierarchy from IRC, you actually can both merge and branch sub-directories in git with something called _git subtree_. It started as a somebody's add-on but now is on it's way to becoming official.

Anyways this change will allow me to split the project into ./mixer ./mix ./patcher ./patch which I believe will be both beneficial to working on red alert, and using the patcher in other projects (as I believe Nyerguds wants too with TD).

I didn't successfully test it, but I believe I none of the errors were the fault of this re-organization:

1. $(CC) wasn't being conditionally defined. (I temporary changed it to a normal [recursive] variable to continue testing. That change is not committed.)
2. nasm couldn't find import.inc or config.inc, leading me to believe exePE was having some trouble dealing with $(NFLAGS).