summaryrefslogtreecommitdiff
path: root/templates/make.mpd
diff options
context:
space:
mode:
authorAdam Mitz <mitza-oci@users.noreply.github.com>2011-04-27 14:10:20 +0000
committerAdam Mitz <mitza-oci@users.noreply.github.com>2011-04-27 14:10:20 +0000
commitd89e43a1ddba238847177e8d49c54ee0de1685c1 (patch)
tree8586eb433fce944cdd752246685539ca3e5ee07f /templates/make.mpd
parent372056cf3fb6acb4e6d6363c1a0c03633605e235 (diff)
downloadMPC-d89e43a1ddba238847177e8d49c54ee0de1685c1.tar.gz
ChangeLogTag: Wed Apr 27 14:07:44 UTC 2011 Adam Mitz <mitza@ociweb.com>
Diffstat (limited to 'templates/make.mpd')
-rw-r--r--templates/make.mpd8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/make.mpd b/templates/make.mpd
index 3c6972cb..1628d2fa 100644
--- a/templates/make.mpd
+++ b/templates/make.mpd
@@ -216,6 +216,10 @@ SPACE = $(should_be_unset) $(should_be_unset)
<%endif%>
GENERATED_DIRTY =<%foreach(custom_types)%><%foreach(custom_type->input_files)%><%if(custom_type->input_file->output_files)%><%foreach(custom_type->input_file->output_files)%> <%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%><%slash%><%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%><%endfor%><%endif%><%endfor%><%endfor%>
+<%if(!source_files)%>
+all:<%if(prebuild)%> __prebuild__<%endif%> $(GENERATED_DIRTY)<%if(postbuild)%> __postbuild__<%endif%>
+
+<%endif%>
<%foreach(custom_types)%>
<%if(expanded_variable_assignment && custom_type->libpath)%>
DYLD_LIBRARY_PATH := $(DYLD_LIBRARY_PATH):<%custom_type->libpath%>
@@ -260,12 +264,10 @@ PATH := $(PATH):<%custom_type->libpath%>
.PRECIOUS: $(GENERATED_DIRTY)
<%if(source_files)%>
$(OBJS): $(GENERATED_DIRTY)
-<%else%>
-all:<%if(prebuild)%> __prebuild__<%endif%> $(GENERATED_DIRTY)<%if(postbuild)%> __postbuild__<%endif%>
<%endif%>
<%endif%>
-generated: $(GENERATED_DIRTY)
+generated:<%if(prebuild)%> __prebuild__<%endif%> $(GENERATED_DIRTY)
@-:
<%if(tempinc)%>