mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Whoops, missed some profile flags
This commit is contained in:
parent
78bda75e45
commit
1ec9ddeb5d
2 changed files with 5 additions and 3556 deletions
10
Makefile
10
Makefile
|
@ -1278,7 +1278,7 @@ $(BUILD_DIR)/%.aifc: $(BUILD_DIR)/%.table %.aiff
|
||||||
|
|
||||||
$(ENDIAN_BITWIDTH): $(TOOLS_DIR)/determine-endian-bitwidth.c
|
$(ENDIAN_BITWIDTH): $(TOOLS_DIR)/determine-endian-bitwidth.c
|
||||||
@$(PRINT) "$(GREEN)Generating endian-bitwidth $(NO_COL)\n"
|
@$(PRINT) "$(GREEN)Generating endian-bitwidth $(NO_COL)\n"
|
||||||
$(V)$(CC) -c $(CFLAGS) -o $@.dummy2 $< 2>$@.dummy1; true
|
$(V)$(CC) $(PROF_FLAGS) -c $(CFLAGS) -o $@.dummy2 $< 2>$@.dummy1; true
|
||||||
$(V)grep -o 'msgbegin --endian .* --bitwidth .* msgend' $@.dummy1 > $@.dummy2
|
$(V)grep -o 'msgbegin --endian .* --bitwidth .* msgend' $@.dummy1 > $@.dummy2
|
||||||
$(V)head -n1 <$@.dummy2 | cut -d' ' -f2-5 > $@
|
$(V)head -n1 <$@.dummy2 | cut -d' ' -f2-5 > $@
|
||||||
@$(RM) $@.dummy1
|
@$(RM) $@.dummy1
|
||||||
|
@ -1382,12 +1382,12 @@ $(BUILD_DIR)/%.o: %.cpp
|
||||||
# Compile C code
|
# Compile C code
|
||||||
$(BUILD_DIR)/%.o: %.c
|
$(BUILD_DIR)/%.o: %.c
|
||||||
$(call print,Compiling:,$<,$@)
|
$(call print,Compiling:,$<,$@)
|
||||||
@$(CC_CHECK) $(CC_CHECK_CFLAGS) -MMD -MP -MT $@ -MF $(BUILD_DIR)/$*.d $<
|
@$(CC_CHECK) $(PROF_FLAGS) $(CC_CHECK_CFLAGS) -MMD -MP -MT $@ -MF $(BUILD_DIR)/$*.d $<
|
||||||
$(V)$(CC) -c $(CFLAGS) -o $@ $<
|
$(V)$(CC) $(PROF_FLAGS) -c $(CFLAGS) -o $@ $<
|
||||||
$(BUILD_DIR)/%.o: $(BUILD_DIR)/%.c
|
$(BUILD_DIR)/%.o: $(BUILD_DIR)/%.c
|
||||||
$(call print,Compiling:,$<,$@)
|
$(call print,Compiling:,$<,$@)
|
||||||
@$(CC_CHECK) $(CC_CHECK_CFLAGS) -MMD -MP -MT $@ -MF $(BUILD_DIR)/$*.d $<
|
@$(CC_CHECK) $(PROF_FLAGS) $(CC_CHECK_CFLAGS) -MMD -MP -MT $@ -MF $(BUILD_DIR)/$*.d $<
|
||||||
$(V)$(CC) -c $(CFLAGS) -o $@ $<
|
$(V)$(CC) $(PROF_FLAGS) -c $(CFLAGS) -o $@ $<
|
||||||
|
|
||||||
# Alternate compiler flags needed for matching
|
# Alternate compiler flags needed for matching
|
||||||
ifeq ($(COMPILER),ido)
|
ifeq ($(COMPILER),ido)
|
||||||
|
|
Loading…
Reference in a new issue