Skip to content

Commit 3ae67a2

Browse files
committed
[make] remove error redirect, add listing and label args to cc65 by default
1 parent 1efa64d commit 3ae67a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

makefiles/build.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ $(OBJDIR)/$(CURRENT_TARGET)/common/%.o: %.c | $(TARGETOBJDIR)
109109
ifeq ($(CC),cl65)
110110
$(CC) -t $(CURRENT_TARGET) -c --create-dep $(@:.o=.d) $(CFLAGS) --listing $(@:.o=.lst) -Ln [email protected] -o $@ $<
111111
else
112-
$(CC) -c --deps $(CFLAGS) -o $@ $< 2>/dev/null
112+
$(CC) -c --deps $(CFLAGS) -o $@ $<
113113
endif
114114

115115
$(OBJDIR)/$(CURRENT_TARGET)/%.o: %.c $(VERSION_FILE) | $(OBJDIR)
116116
@$(call MKDIR,$(dir $@))
117117
ifeq ($(CC),cl65)
118-
$(CC) -t $(CURRENT_TARGET) -c --create-dep $(@:.o=.d) $(CFLAGS) -o $@ $<
118+
$(CC) -t $(CURRENT_TARGET) -c --create-dep $(@:.o=.d) $(CFLAGS) --listing $(@:.o=.lst) -Ln [email protected] -o $@ $<
119119
else
120-
$(CC) -c --deps $(CFLAGS) -o $@ $< 2>/dev/null
120+
$(CC) -c --deps $(CFLAGS) -o $@ $<
121121
endif
122122

123123
vpath %.s $(SRC_INC_DIRS)

0 commit comments

Comments
 (0)