diff options
Diffstat (limited to 'apps/plugins/doom')
-rw-r--r-- | apps/plugins/doom/SOURCES | 1 | ||||
-rw-r--r-- | apps/plugins/doom/doom.make | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/apps/plugins/doom/SOURCES b/apps/plugins/doom/SOURCES index 6ee2d95c96..6cd69faee6 100644 --- a/apps/plugins/doom/SOURCES +++ b/apps/plugins/doom/SOURCES | |||
@@ -60,4 +60,3 @@ i_video.c | |||
60 | w_wad.c | 60 | w_wad.c |
61 | rockdoom.c | 61 | rockdoom.c |
62 | d_deh.c | 62 | d_deh.c |
63 | sscanf.c | ||
diff --git a/apps/plugins/doom/doom.make b/apps/plugins/doom/doom.make index 666128c432..fc73729c22 100644 --- a/apps/plugins/doom/doom.make +++ b/apps/plugins/doom/doom.make | |||
@@ -13,6 +13,7 @@ DOOMBUILDDIR := $(BUILDDIR)/apps/plugins/doom | |||
13 | ROCKS += $(DOOMBUILDDIR)/doom.rock | 13 | ROCKS += $(DOOMBUILDDIR)/doom.rock |
14 | 14 | ||
15 | DOOM_SRC := $(call preprocess, $(DOOMSRCDIR)/SOURCES) | 15 | DOOM_SRC := $(call preprocess, $(DOOMSRCDIR)/SOURCES) |
16 | DOOM_SRC += $(ROOTDIR)/firmware/common/sscanf.c | ||
16 | DOOM_OBJ := $(call c2obj, $(DOOM_SRC)) | 17 | DOOM_OBJ := $(call c2obj, $(DOOM_SRC)) |
17 | 18 | ||
18 | # add source files to OTHER_SRC to get automatic dependencies | 19 | # add source files to OTHER_SRC to get automatic dependencies |
@@ -32,12 +33,6 @@ else | |||
32 | DOOMCFLAGS += -O2 | 33 | DOOMCFLAGS += -O2 |
33 | endif | 34 | endif |
34 | 35 | ||
35 | $(DOOMBUILDDIR)/sscanf.c: $(FIRMDIR)/common/sscanf.c | ||
36 | $(SILENT)mkdir -p $(dir $@) | ||
37 | $(call PRINTS,CP $<)cp $< $@ | ||
38 | |||
39 | $(DOOMBUILDDIR)/sscanf.o: $(DOOMBUILDDIR)/sscanf.c | ||
40 | |||
41 | $(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ) | 36 | $(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ) |
42 | # for some reason, this doesn't match the implicit rule in plugins.make, | 37 | # for some reason, this doesn't match the implicit rule in plugins.make, |
43 | # so we have to duplicate the link command here | 38 | # so we have to duplicate the link command here |