Mercurial > hg > Members > kono > nitros9-code
comparison 3rdparty/packages/raakatu/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 | 1addfd8c9d5f |
comparison
equal
deleted
inserted
replaced
2872:dbc6d0647ac4 | 2873:46c80d4b0de1 |
---|---|
36 $(MERGE) $(KERNEL)>kernel_1773 | 36 $(MERGE) $(KERNEL)>kernel_1773 |
37 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773 | 37 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773 |
38 $(RM) os9boot kernel_1773 | 38 $(RM) os9boot kernel_1773 |
39 $(MAKDIR) $(DISK),CMDS | 39 $(MAKDIR) $(DISK),CMDS |
40 $(OS9COPY) $(CMDS) $(DISK),CMDS | 40 $(OS9COPY) $(CMDS) $(DISK),CMDS |
41 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) | 41 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$(DISK),CMDS/$(file)) |
42 $(OS9RENAME) $(DISK),CMDS/raakatu AutoEx | 42 $(OS9RENAME) $(DISK),CMDS/raakatu AutoEx |
43 $(OS9COPY) $(LEVEL2)/coco3/cmds/shell_21 $(DISK),CMDS/shell | 43 $(OS9COPY) $(LEVEL2)/coco3/cmds/shell_21 $(DISK),CMDS/shell |
44 $(OS9ATTR_EXEC) $(DISK),CMDS/shell | 44 $(OS9ATTR_EXEC) $(DISK),CMDS/shell |
45 # $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $(DISK),SUB/$(file);) | 45 # $(OS9ATTR_TEXT) $(foreach file,$(SUPPORTFILES),$(DISK),SUB/$(file)) |
46 | 46 |
47 dskcopy: | 47 dskcopy: |
48 $(CP) $(DISK) $(DSKDIR) | 48 $(CP) $(DISK) $(DSKDIR) |
49 | 49 |
50 dskclean: | 50 dskclean: |