diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-10-23 08:13:36 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-10-23 08:13:36 +0000 |
commit | e569db494af0148a00b942cc62d505586b6e8209 (patch) | |
tree | 3a4399e767a59e38ccda94bc4883ed85b67993ea | |
parent | 1527ab2ae9048205ead66fb4f34b3726ea17f6ca (diff) | |
download | MPC-e569db494af0148a00b942cc62d505586b6e8209.tar.gz |
ChangeLogTag: Sun Oct 23 06:47:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | templates/bmake.mpd | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/templates/bmake.mpd b/templates/bmake.mpd index 184fbb26..864db5f9 100644 --- a/templates/bmake.mpd +++ b/templates/bmake.mpd @@ -111,9 +111,16 @@ RESOURCE = \ <%foreach(resource_files)%> $(INTERMEDIATE)\<%noextension(resource_file)%>.res<%fornotlast(" \\")%> <%endfor%> -<%endif%> +<%if(includes)%> +RC_FLAGS = \ +<%foreach(includes)%> + -i"<%include%>"<%fornotlast(" \\")%> +<%endfor%> +<%endif%> +<%endif%> <%if(pch_header)%> + # Borland precompiled headers can choke on some header files. # Set NO_USE_PCH if you do not want to use precompiled headers. !ifndef NO_USE_PCH @@ -283,7 +290,7 @@ generated: $(GENERATED_DIRTY) .path.rc = $(RESDIR) .rc.res: @if not exist "$(INTERMEDIATE)" mkdir "$(INTERMEDIATE)" - $(RC) -fo$@ $< + $(RC) $(RC_FLAGS) -fo$@ $< <%foreach(resource_files)%> <%if(dirname(resource_file))%> |