diff options
Diffstat (limited to 'apps/plugins/doom/Makefile')
-rw-r--r-- | apps/plugins/doom/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/apps/plugins/doom/Makefile b/apps/plugins/doom/Makefile index a94a26a544..678e283427 100644 --- a/apps/plugins/doom/Makefile +++ b/apps/plugins/doom/Makefile | |||
@@ -3,7 +3,10 @@ | |||
3 | # $Id$ | 3 | # $Id$ |
4 | # | 4 | # |
5 | # $Log$ | 5 | # $Log$ |
6 | # Revision 1.5 2006/09/29 16:15:08 barrywardell | 6 | # Revision 1.6 2006/09/29 20:04:35 barrywardell |
7 | # Cleaner implementation of the recent OSX simulator build fix. No need to define SHARED_FLAG in each Makefile. Just have configure create it in the root Makefile instead. | ||
8 | # | ||
9 | # Revision 1.5 2006-09-29 16:15:08 barrywardell | ||
7 | # Allow UI simulator to be build on OS (Slightly updated version of FS5767) | 10 | # Allow UI simulator to be build on OS (Slightly updated version of FS5767) |
8 | # | 11 | # |
9 | # Revision 1.4 2006-07-27 13:27:19 linus | 12 | # Revision 1.4 2006-07-27 13:27:19 linus |
@@ -26,12 +29,6 @@ CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ | |||
26 | -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN \ | 29 | -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN \ |
27 | -Wno-strict-prototypes -O2 $(PROFILE_OPTS) | 30 | -Wno-strict-prototypes -O2 $(PROFILE_OPTS) |
28 | 31 | ||
29 | ifeq ($(UNAME), Darwin) | ||
30 | SHARED_FLAG=-dynamiclib -Wl,-single_module | ||
31 | else | ||
32 | SHARED_FLAG=-shared | ||
33 | endif | ||
34 | |||
35 | ifdef APPEXTRA | 32 | ifdef APPEXTRA |
36 | INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA))) | 33 | INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA))) |
37 | endif | 34 | endif |