summaryrefslogtreecommitdiff
path: root/apps/plugins/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r--apps/plugins/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 019a4590c8..98c66c6d46 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -86,6 +86,22 @@ else
86endif 86endif
87 87
88else # end of x11-simulator 88else # end of x11-simulator
89ifeq ($(SIMVER), sdl)
90###################################################
91# This is the SDL simulator version
92
93$(OBJDIR)/%.rock : $(OBJDIR)/%.o $(BUILDDIR)/libplugin.a
94 @echo "LD "`basename $@`
95 @$(CC) $(CFLAGS) -shared $< -L$(BUILDDIR) $(CODECLIBS) -lplugin -o $@
96ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
97# 'x' must be kept or you'll have "Win32 error 5"
98# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
99# #define ERROR_ACCESS_DENIED 5L
100else
101 @chmod -x $@
102endif
103
104else # end of sdl-simulator
89################################################### 105###################################################
90# This is the win32 simulator version 106# This is the win32 simulator version
91DLLTOOLFLAGS = --export-all 107DLLTOOLFLAGS = --export-all
@@ -104,6 +120,7 @@ else
104 @chmod -x $@ 120 @chmod -x $@
105endif 121endif
106endif # end of win32-simulator 122endif # end of win32-simulator
123endif
107 124
108endif # end of simulator section 125endif # end of simulator section
109 126