Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
0caadec8
Commit
0caadec8
authored
Oct 04, 2005
by
deuce
Browse files
Include SDLMain in ciolib library on OSX.
parent
cfb26734
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
src/conio/Common.gmake
src/conio/Common.gmake
+1
-1
src/conio/GNUmakefile
src/conio/GNUmakefile
+12
-0
No files found.
src/conio/Common.gmake
View file @
0caadec8
...
...
@@ -43,7 +43,7 @@ ifdef USE_SDL
ifeq ($(os),darwin)
CIOLIB-MT_CFLAGS += -DWITH_SDL
CIOLIB-MT_CFLAGS += -I/Library/Frameworks/SDL.framework/Headers
CIOLIB-MT_LIBS +=
$(SRC_ROOT)$(DIRSEP)conio$(DIRSEP)SDLMain.m
-framework SDL -framework Cocoa -I/Library/Frameworks/SDL.framework/Headers
CIOLIB-MT_LIBS += -framework SDL -framework Cocoa -I/Library/Frameworks/SDL.framework/Headers
endif
endif
endif
...
...
src/conio/GNUmakefile
View file @
0caadec8
...
...
@@ -21,6 +21,18 @@ ifeq ($(os),netbsd)
CFLAGS
+=
-DN_CURSES_LIB
endif
ifeq
($(os),darwin)
ifdef
WITH_SDL
OBJS
+=
$(MTOBJODIR)$(DIRSEP)
SDLMain
$(OFILE)
endif
endif
ifeq
($(os),darwin)
$(MTOBJODIR)$(DIRSEP)SDLMain$(OFILE)
:
SDLMain.m
@
echo
$(COMPILE_MSG)
$<
$(QUIET)$(CC)
$(CFLAGS)
$(CCFLAGS)
-o
$@
-c
$<
endif
$(MTOBJODIR)$(DIRSEP)console$(OFILE).static
:
$(QUIET)$(DELETE)
$(MTOBJODIR)$(DIRSEP)
console
$(OFILE)
*
$(QUIET)
touch
$(MTOBJODIR)$(DIRSEP)
console
$(OFILE)
.static
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment