Mercurial > hg > Members > kono > nitros9-code
comparison 3rdparty/packages/sierra/spacequest0/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 |
comparison
equal
deleted
inserted
replaced
2872:dbc6d0647ac4 | 2873:46c80d4b0de1 |
---|---|
104 $(MERGE) $(KERNEL)>kernel | 104 $(MERGE) $(KERNEL)>kernel |
105 $(OS9GEN) $@ -b=os9boot -t=kernel | 105 $(OS9GEN) $@ -b=os9boot -t=kernel |
106 $(RM) os9boot kernel | 106 $(RM) os9boot kernel |
107 $(MAKDIR) $@,CMDS | 107 $(MAKDIR) $@,CMDS |
108 $(OS9COPY) $(CMDS) $@,CMDS | 108 $(OS9COPY) $(CMDS) $@,CMDS |
109 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 109 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
110 $(MERGE) $(BOOTCMDS)>shell | 110 $(MERGE) $(BOOTCMDS)>shell |
111 $(OS9COPY) shell $@,CMDS | 111 $(OS9COPY) shell $@,CMDS |
112 $(RM) shell | 112 $(RM) shell |
113 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 113 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
114 $(OS9RENAME) $@,CMDS/sierra AutoEx | 114 $(OS9RENAME) $@,CMDS/sierra AutoEx |
137 $(MERGE) $(KERNEL)>kernel | 137 $(MERGE) $(KERNEL)>kernel |
138 $(OS9GEN) $@ -b=os9boot -t=kernel | 138 $(OS9GEN) $@ -b=os9boot -t=kernel |
139 $(RM) os9boot kernel | 139 $(RM) os9boot kernel |
140 $(MAKDIR) $@,CMDS | 140 $(MAKDIR) $@,CMDS |
141 $(OS9COPY) $(CMDS) $@,CMDS | 141 $(OS9COPY) $(CMDS) $@,CMDS |
142 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 142 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
143 $(MERGE) $(BOOTCMDS)>shell | 143 $(MERGE) $(BOOTCMDS)>shell |
144 $(OS9COPY) shell $@,CMDS | 144 $(OS9COPY) shell $@,CMDS |
145 $(RM) shell | 145 $(RM) shell |
146 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 146 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
147 $(OS9RENAME) $@,CMDS/sierra AutoEx | 147 $(OS9RENAME) $@,CMDS/sierra AutoEx |
165 $(MERGE) $(KERNEL_DW)>kernel | 165 $(MERGE) $(KERNEL_DW)>kernel |
166 $(OS9GEN) $@ -b=os9boot -t=kernel | 166 $(OS9GEN) $@ -b=os9boot -t=kernel |
167 $(RM) os9boot kernel | 167 $(RM) os9boot kernel |
168 $(MAKDIR) $@,CMDS | 168 $(MAKDIR) $@,CMDS |
169 $(OS9COPY) $(CMDS) $@,CMDS | 169 $(OS9COPY) $(CMDS) $@,CMDS |
170 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 170 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
171 $(MERGE) $(BOOTCMDS)>shell | 171 $(MERGE) $(BOOTCMDS)>shell |
172 $(OS9COPY) shell $@,CMDS | 172 $(OS9COPY) shell $@,CMDS |
173 $(RM) shell | 173 $(RM) shell |
174 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 174 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
175 $(OS9RENAME) $@,CMDS/sierra AutoEx | 175 $(OS9RENAME) $@,CMDS/sierra AutoEx |
188 $(MERGE) $(KERNEL_DW_BECKER)>kernel | 188 $(MERGE) $(KERNEL_DW_BECKER)>kernel |
189 $(OS9GEN) $@ -b=os9boot -t=kernel | 189 $(OS9GEN) $@ -b=os9boot -t=kernel |
190 $(RM) os9boot kernel | 190 $(RM) os9boot kernel |
191 $(MAKDIR) $@,CMDS | 191 $(MAKDIR) $@,CMDS |
192 $(OS9COPY) $(CMDS) $@,CMDS | 192 $(OS9COPY) $(CMDS) $@,CMDS |
193 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 193 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
194 $(MERGE) $(BOOTCMDS)>shell | 194 $(MERGE) $(BOOTCMDS)>shell |
195 $(OS9COPY) shell $@,CMDS | 195 $(OS9COPY) shell $@,CMDS |
196 $(RM) shell | 196 $(RM) shell |
197 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 197 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
198 $(OS9RENAME) $@,CMDS/sierra AutoEx | 198 $(OS9RENAME) $@,CMDS/sierra AutoEx |