diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-09 11:22:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-09 11:22:36 +0000 |
commit | 0e419987e48b006104748118fa28161484b7dfa1 (patch) | |
tree | 45c1c1fe81309615e1e6d239183b677be90feb41 /apps/plugins/rockboy | |
parent | d2a10f5676a4ab53aec437bd5976e2aef6bde0a4 (diff) | |
download | rockbox-0e419987e48b006104748118fa28161484b7dfa1.tar.gz rockbox-0e419987e48b006104748118fa28161484b7dfa1.zip |
SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
simulator with the hope that once it works fine, we can remove the other two
and only have one unified simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8312 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r-- | apps/plugins/rockboy/Makefile | 18 |
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 | |||
72 | endif | 72 | endif |
73 | 73 | ||
74 | else # end of x11-simulator | 74 | else # end of x11-simulator |
75 | ifeq ($(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 $@ | ||
82 | ifeq ($(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 | ||
86 | else | ||
87 | @chmod -x $@ | ||
88 | endif | ||
89 | |||
90 | else # end of sdl-simulator | ||
75 | ################################################### | 91 | ################################################### |
76 | # This is the win32 simulator version | 92 | # This is the win32 simulator version |
77 | DLLTOOLFLAGS = --export-all | 93 | DLLTOOLFLAGS = --export-all |
@@ -90,7 +106,7 @@ else | |||
90 | @chmod -x $@ | 106 | @chmod -x $@ |
91 | endif | 107 | endif |
92 | endif # end of win32-simulator | 108 | endif # end of win32-simulator |
93 | 109 | endif | |
94 | endif # end of simulator section | 110 | endif # end of simulator section |
95 | 111 | ||
96 | 112 | ||