I thought this was obvious...but meh
Here is what I want: I simply want to set a macro when the target 'server' is being build. That way a clean ded server can be build.
Here is what I have now, and doesn't work :-/
Not entirely sure if this is right...but I think the defines really only work compiling the source files direct, not on the object files - though header files are sometimes used when linking, so it could have an effect there.
I could be completely wrong - someone please correct me if I am!
I'm not sure about linking header files(never saw that happen), but you're right about the other part. Unfortunaly this way of compiling doesn't leave any .o files and thus you have to recompile everything each time.