Mercurial > projects > dstress
changeset 217:d28e9d734c7f
suport multiple file compile targets
author | thomask |
---|---|
date | Thu, 30 Dec 2004 10:02:33 +0000 |
parents | 17b5647d8463 |
children | cb22f2d42678 |
files | Makefile |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Dec 29 23:35:31 2004 +0000 +++ b/Makefile Thu Dec 30 10:02:33 2004 +0000 @@ -179,7 +179,7 @@ define analyse_compile @if $(ifeq__) $(z_return) 0 ; then \ - $(ECHO) "PASS: $(z_name)"; \ + $(ECHO) "PASS: $(z_name)"; $(TOUCH) $@; \ else \ if $(ifeq__) $(z_return) 256 ; then \ $(ECHO) "FAIL: $(z_name)"; $(RM) $@; \ @@ -192,14 +192,14 @@ %.$(ext_compile) : %.$(ext_source) basic_tools $(eval z_name = $(subst .$(ext_compile),,$@)) $(extract_z_flags) - $(eval z_return = $(shell $(return__) "$(DMD) $(DFLAGS) $(z_flags) -c -of$@ $< $(to_log)")) + $(eval z_return = $(shell $(return__) "$(DMD) $(DFLAGS) $(z_flags) -c -od$(OBJ_DIR) $< $(to_log)")) $(analyse_compile) %.$(ext_compile) : %.$(ext_source_html) basic_tools $(eval z_name = $(subst .$(ext_compile),,$@)) $(extract_z_flags) - $(eval z_return = $(shell $(return__) "$(DMD) $(DFLAGS) $(z_flags) -c -of$@ $< $(to_log)")) + $(eval z_return = $(shell $(return__) "$(DMD) $(DFLAGS) $(z_flags) -c -od$(OBJ_DIR) $< $(to_log)")) $(analyse_compile) #