summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/Makefile
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-09-29 20:04:36 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-09-29 20:04:36 +0000
commitce74dc074355dcf8db9bd0c09ee2624089d3c3e7 (patch)
tree423ac7b5e98b4d7754e48b950160f638471c4ac8 /apps/plugins/doom/Makefile
parent64f949f2954db85968850f6e157e5c3b10df6b7d (diff)
downloadrockbox-ce74dc074355dcf8db9bd0c09ee2624089d3c3e7.tar.gz
rockbox-ce74dc074355dcf8db9bd0c09ee2624089d3c3e7.zip
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.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11095 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/Makefile')
-rw-r--r--apps/plugins/doom/Makefile11
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
29ifeq ($(UNAME), Darwin)
30SHARED_FLAG=-dynamiclib -Wl,-single_module
31else
32SHARED_FLAG=-shared
33endif
34
35ifdef APPEXTRA 32ifdef APPEXTRA
36 INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA))) 33 INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA)))
37endif 34endif