Mercurial > hg > Members > kono > nitros9-code
diff 3rdparty/packages/sierra/spacequest2/makefile @ 2873:46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
in order to call the command once with all the files.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 24 Nov 2013 13:26:20 +0100 |
parents | cfa6222348f7 |
children | 28ed72477814 |
line wrap: on
line diff
--- a/3rdparty/packages/sierra/spacequest2/makefile Sun Nov 24 12:07:31 2013 +0100 +++ b/3rdparty/packages/sierra/spacequest2/makefile Sun Nov 24 13:26:20 2013 +0100 @@ -101,7 +101,7 @@ $(RM) os9boot kernel $(MAKDIR) $@,CMDS $(OS9COPY) $(CMDS) $@,CMDS - $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) $(MERGE) $(BOOTCMDS)>shell $(OS9COPY) shell $@,CMDS $(RM) shell @@ -134,7 +134,7 @@ $(RM) os9boot kernel $(MAKDIR) $@,CMDS $(OS9COPY) $(CMDS) $@,CMDS - $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) $(MERGE) $(BOOTCMDS)>shell $(OS9COPY) shell $@,CMDS $(RM) shell @@ -157,7 +157,7 @@ $(RM) os9boot kernel $(MAKDIR) $@,CMDS $(OS9COPY) $(CMDS) $@,CMDS - $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) $(MERGE) $(BOOTCMDS)>shell $(OS9COPY) shell $@,CMDS $(RM) shell @@ -180,7 +180,7 @@ $(RM) os9boot kernel $(MAKDIR) $@,CMDS $(OS9COPY) $(CMDS) $@,CMDS - $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) $(MERGE) $(BOOTCMDS)>shell $(OS9COPY) shell $@,CMDS $(RM) shell