mirror of https://github.com/zeldaret/tmc.git
use printf instead of echo
echo is not portable, hope is that printf is more so
This commit is contained in:
parent
d40664bb74
commit
7c749c7f3c
2
GBA.mk
2
GBA.mk
|
@ -123,7 +123,7 @@ $(BUILD_DIR)/%.o : %.c $$(deps)
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
$(CPP) $(CPPFLAGS) $< -o $(BUILD_DIR)/$*.i
|
$(CPP) $(CPPFLAGS) $< -o $(BUILD_DIR)/$*.i
|
||||||
$(CC1) $(CFLAGS) -o $(BUILD_DIR)/$*.s $(BUILD_DIR)/$*.i
|
$(CC1) $(CFLAGS) -o $(BUILD_DIR)/$*.s $(BUILD_DIR)/$*.i
|
||||||
@echo "\t.text\n\t.align\t2, 0 @ Don't pad with nop\n" >> $(BUILD_DIR)/$*.s
|
@printf "\t.text\n\t.align\t2, 0 @ Don't pad with nop\n" >> $(BUILD_DIR)/$*.s
|
||||||
$(AS) $(ASFLAGS) -o $@ $(BUILD_DIR)/$*.s
|
$(AS) $(ASFLAGS) -o $@ $(BUILD_DIR)/$*.s
|
||||||
|
|
||||||
# ==============
|
# ==============
|
||||||
|
|
Loading…
Reference in New Issue