diff options
Diffstat (limited to 'apps/plugins/midi/midi.make')
-rw-r--r-- | apps/plugins/midi/midi.make | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/plugins/midi/midi.make b/apps/plugins/midi/midi.make index 9de8496d90..549d8e7c0a 100644 --- a/apps/plugins/midi/midi.make +++ b/apps/plugins/midi/midi.make | |||
@@ -21,18 +21,6 @@ OTHER_SRC += $(MIDI_SRC) | |||
21 | MIDICFLAGS = $(PLUGINFLAGS) -O2 | 21 | MIDICFLAGS = $(PLUGINFLAGS) -O2 |
22 | 22 | ||
23 | $(MIDIBUILDDIR)/midi.rock: $(MIDI_OBJ) | 23 | $(MIDIBUILDDIR)/midi.rock: $(MIDI_OBJ) |
24 | # for some reason, this doesn't match the implicit rule in plugins.make, | ||
25 | # so we have to duplicate the link command here | ||
26 | $(call PRINTS,LD $(@F)) | ||
27 | $(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \ | ||
28 | $(filter %.o, $^) \ | ||
29 | $(filter %.a, $^) \ | ||
30 | -lgcc $(PLUGINLDFLAGS) | ||
31 | ifdef SIMVER | ||
32 | $(SILENT)cp $*.elf $@ | ||
33 | else | ||
34 | $(SILENT)$(OC) -O binary $*.elf $@ | ||
35 | endif | ||
36 | 24 | ||
37 | # new rule needed to use extra compile flags | 25 | # new rule needed to use extra compile flags |
38 | $(MIDIBUILDDIR)/%.o: $(MIDISRCDIR)/%.c | 26 | $(MIDIBUILDDIR)/%.o: $(MIDISRCDIR)/%.c |