diff --git a/apps/plugins/doom/doom.make b/apps/plugins/doom/doom.make index d566f5307b..3e95026c3c 100644 --- a/apps/plugins/doom/doom.make +++ b/apps/plugins/doom/doom.make @@ -42,13 +42,18 @@ $(DOOMBUILDDIR)/sscanf.o: $(DOOMBUILDDIR)/sscanf.c $(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ) # for some reason, this doesn't match the implicit rule in plugins.make, # so we have to duplicate the link command here + $(call PRINTS,LD $(@F)) $(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \ $(filter %.o, $^) \ $(filter %.a, $^) \ -lgcc $(PLUGINLDFLAGS) - $(call PRINTS,LD $(@F))$(OC) -O binary $*.elf $@ +ifdef SIMVER + $(SILENT)cp $*.elf $@ +else + $(SILENT)$(OC) -O binary $*.elf $@ +endif # new rule needed to use extra compile flags -$(DOOMBUILDDIR)/%.o: $(DOOMSRCDIR)/%.c $(DOOMSRCDIR)/doom.make +$(DOOMBUILDDIR)/%.o: $(DOOMSRCDIR)/%.c $(SILENT)mkdir -p $(dir $@) $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(DOOMCFLAGS) -c $< -o $@ diff --git a/apps/plugins/midi/midi.make b/apps/plugins/midi/midi.make index 9100764974..93b6ead3b1 100644 --- a/apps/plugins/midi/midi.make +++ b/apps/plugins/midi/midi.make @@ -21,8 +21,13 @@ OTHER_SRC += $(MIDI_SRC) $(MIDIBUILDDIR)/midi.rock: $(MIDI_OBJ) # for some reason, this doesn't match the implicit rule in plugins.make, # so we have to duplicate the link command here + $(call PRINTS,LD $(@F)) $(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \ $(filter %.o, $^) \ $(filter %.a, $^) \ -lgcc $(PLUGINLDFLAGS) - $(call PRINTS,LD $(@F))$(OC) -O binary $*.elf $@ +ifdef SIMVER + $(SILENT)cp $*.elf $@ +else + $(SILENT)$(OC) -O binary $*.elf $@ +endif diff --git a/apps/plugins/reversi/reversi.make b/apps/plugins/reversi/reversi.make index be7369423e..4eaa82d8a0 100644 --- a/apps/plugins/reversi/reversi.make +++ b/apps/plugins/reversi/reversi.make @@ -21,8 +21,13 @@ OTHER_SRC += $(REVERSI_SRC) $(REVERSIBUILDDIR)/reversi.rock: $(REVERSI_OBJ) # for some reason, this doesn't match the implicit rule in plugins.make, # so we have to duplicate the link command here + $(call PRINTS,LD $(@F)) $(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \ $(filter %.o, $^) \ $(filter %.a, $^) \ -lgcc $(PLUGINLDFLAGS) - $(call PRINTS,LD $(@F))$(OC) -O binary $*.elf $@ +ifdef SIMVER + $(SILENT)cp $*.elf $@ +else + $(SILENT)$(OC) -O binary $*.elf $@ +endif