diff options
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r-- | apps/plugins/Makefile | 17 |
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 | |||
86 | endif | 86 | endif |
87 | 87 | ||
88 | else # end of x11-simulator | 88 | else # end of x11-simulator |
89 | ifeq ($(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 $@ | ||
96 | ifeq ($(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 | ||
100 | else | ||
101 | @chmod -x $@ | ||
102 | endif | ||
103 | |||
104 | else # end of sdl-simulator | ||
89 | ################################################### | 105 | ################################################### |
90 | # This is the win32 simulator version | 106 | # This is the win32 simulator version |
91 | DLLTOOLFLAGS = --export-all | 107 | DLLTOOLFLAGS = --export-all |
@@ -104,6 +120,7 @@ else | |||
104 | @chmod -x $@ | 120 | @chmod -x $@ |
105 | endif | 121 | endif |
106 | endif # end of win32-simulator | 122 | endif # end of win32-simulator |
123 | endif | ||
107 | 124 | ||
108 | endif # end of simulator section | 125 | endif # end of simulator section |
109 | 126 | ||