diff options
Diffstat (limited to 'apps/plugins/doom')
-rw-r--r-- | apps/plugins/doom/doom.make | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/plugins/doom/doom.make b/apps/plugins/doom/doom.make index fc73729c22..adec5432e7 100644 --- a/apps/plugins/doom/doom.make +++ b/apps/plugins/doom/doom.make | |||
@@ -34,18 +34,6 @@ else | |||
34 | endif | 34 | endif |
35 | 35 | ||
36 | $(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ) | 36 | $(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ) |
37 | # for some reason, this doesn't match the implicit rule in plugins.make, | ||
38 | # so we have to duplicate the link command here | ||
39 | $(call PRINTS,LD $(@F)) | ||
40 | $(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \ | ||
41 | $(filter %.o, $^) \ | ||
42 | $(filter %.a, $^) \ | ||
43 | -lgcc $(PLUGINLDFLAGS) | ||
44 | ifdef SIMVER | ||
45 | $(SILENT)cp $*.elf $@ | ||
46 | else | ||
47 | $(SILENT)$(OC) -O binary $*.elf $@ | ||
48 | endif | ||
49 | 37 | ||
50 | # new rule needed to use extra compile flags | 38 | # new rule needed to use extra compile flags |
51 | $(DOOMBUILDDIR)/%.o: $(DOOMSRCDIR)/%.c | 39 | $(DOOMBUILDDIR)/%.o: $(DOOMSRCDIR)/%.c |