summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/Makefile')
-rw-r--r--apps/plugins/rockboy/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/Makefile b/apps/plugins/rockboy/Makefile
index 23c614210a..3657e8d786 100644
--- a/apps/plugins/rockboy/Makefile
+++ b/apps/plugins/rockboy/Makefile
@@ -72,6 +72,22 @@ else
72endif 72endif
73 73
74else # end of x11-simulator 74else # end of x11-simulator
75ifeq ($(SIMVER), sdl)
76###################################################
77# This is the sdl simulator version
78
79$(OUTPUT): $(OBJS)
80 @echo "LD $@"
81 @$(CC) $(CFLAGS) -shared $(OBJS) -L$(BUILDDIR) -lplugin -o $@
82ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
83# 'x' must be kept or you'll have "Win32 error 5"
84# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
85# #define ERROR_ACCESS_DENIED 5L
86else
87 @chmod -x $@
88endif
89
90else # end of sdl-simulator
75################################################### 91###################################################
76# This is the win32 simulator version 92# This is the win32 simulator version
77DLLTOOLFLAGS = --export-all 93DLLTOOLFLAGS = --export-all
@@ -90,7 +106,7 @@ else
90 @chmod -x $@ 106 @chmod -x $@
91endif 107endif
92endif # end of win32-simulator 108endif # end of win32-simulator
93 109endif
94endif # end of simulator section 110endif # end of simulator section
95 111
96 112