Skip to content

Commit

Permalink
[make] remove error redirect, add listing and label args to cc65 by d…
Browse files Browse the repository at this point in the history
…efault
  • Loading branch information
markjfisher committed Jun 29, 2024
1 parent 1efa64d commit 3ae67a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions makefiles/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ $(OBJDIR)/$(CURRENT_TARGET)/common/%.o: %.c | $(TARGETOBJDIR)
ifeq ($(CC),cl65)
$(CC) -t $(CURRENT_TARGET) -c --create-dep $(@:.o=.d) $(CFLAGS) --listing $(@:.o=.lst) -Ln $@.lbl -o $@ $<
else
$(CC) -c --deps $(CFLAGS) -o $@ $< 2>/dev/null
$(CC) -c --deps $(CFLAGS) -o $@ $<
endif

$(OBJDIR)/$(CURRENT_TARGET)/%.o: %.c $(VERSION_FILE) | $(OBJDIR)
@$(call MKDIR,$(dir $@))
ifeq ($(CC),cl65)
$(CC) -t $(CURRENT_TARGET) -c --create-dep $(@:.o=.d) $(CFLAGS) -o $@ $<
$(CC) -t $(CURRENT_TARGET) -c --create-dep $(@:.o=.d) $(CFLAGS) --listing $(@:.o=.lst) -Ln $@.lbl -o $@ $<
else
$(CC) -c --deps $(CFLAGS) -o $@ $< 2>/dev/null
$(CC) -c --deps $(CFLAGS) -o $@ $<
endif

vpath %.s $(SRC_INC_DIRS)
Expand Down

0 comments on commit 3ae67a2

Please # to comment.