Changeset 119
- Timestamp:
- May 10, 2003, 9:25:06 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r118 r119 117 117 ECHOIZE = $(subst $$,\$$,$1$(strip $(subst $(SPACE)$(COMMA),$(COMMA),$(foreach x,2 3 4 5 6 7 8 9,$(if $($x),$(COMMA) $($x)))))) 118 118 # How to output a text string (with appended newline) 119 ECHO = echo.exe "$(call ECHOIZE,$1,$2,$3,$4,$5,$6,$7,$8,$9)" 119 # bird: skip the .exe and ash will use internal echo implementation which is way faster 120 #ECHO = echo.exe "$(call ECHOIZE,$1,$2,$3,$4,$5,$6,$7,$8,$9)" 121 ECHO = echo "$(call ECHOIZE,$1,$2,$3,$4,$5,$6,$7,$8,$9)" 120 122 # Same but append the text to a file (given with first argument) 121 FECHO = echo.exe "$(call ECHOIZE,$2,$3,$4,$5,$6,$7,$8,$9)" >> "$1" 123 # bird: skip the .exe and ash will use internal echo implementation which is way faster 124 #FECHO = echo.exe "$(call ECHOIZE,$2,$3,$4,$5,$6,$7,$8,$9)" >> "$1" 125 FECHO = echo "$(call ECHOIZE,$2,$3,$4,$5,$6,$7,$8,$9)" >> "$1" 122 126 # How to replace the source file extension with a .o extension 123 127 OBJEXT = $(patsubst %.s,%.o,$(patsubst %.asm,%.o,$(patsubst %.c,%.o,$1))) … … 188 192 $(call MKDIR,$@) 189 193 190 $(OUT)genrules.smak: $(OUT) Makefile $(SUBMAK) 191 @$(call ECHO,Please wait, rebuilding make rules ...) 194 # bird: add rule for generating the rules. 195 rules: rules-rm $(OUT)genrules.smak 196 rules-rm: 197 @$(call RM,$(OUT)genrules.smak) 198 199 #$(OUT)genrules.smak: $(OUT) Makefile $(SUBMAK) 200 # bird: depeding on $(OUT) make it unstable. 201 $(OUT)genrules.smak: Makefile $(SUBMAK) 202 $(call MKDIR,$(@D)) 203 @$(call ECHO,Please wait, rebuilding make rules $@ ...) 192 204 @$(call RM,$@) 193 205 @$(call FECHO,$@,# Autogenerated file -- DO NOT EDIT!) … … 195 207 196 208 -include $(OUT)genrules.smak 209 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.