mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-13 06:13:39 +00:00
makefile comment tweaks
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@321 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
5ade0c29df
commit
6177ae068a
4 changed files with 27 additions and 29 deletions
|
@ -1,10 +1,10 @@
|
|||
# GNU Makefile for QuakeSpasm unix targets, June 21, 2010
|
||||
# GNU Makefile for QuakeSpasm unix targets, Aug. 31, 2010
|
||||
#
|
||||
# You need SDL (and optionally SDL_net) fully installed.
|
||||
# "make DEBUG=1" builds debug client
|
||||
# "make SDLNET=1" to enable SDL_net. otherwise the socket api will be
|
||||
# used directly.
|
||||
# "make SDL_CONFIG=/path/to/sdl-config" for unusual SDL installations
|
||||
# You need the SDL library fully installed.
|
||||
# "make DEBUG=1" to build a debug client.
|
||||
# "make SDL_CONFIG=/path/to/sdl-config" for unusual SDL installations.
|
||||
# "make SDLNET=1" to use SDL_net (not recommended) instead of platform
|
||||
# specific code.
|
||||
#
|
||||
# Build objects are separate from those of codeblocks for now
|
||||
# (we aren't using codeblocks).
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# GNU Makefile for QuakeSpasm for Darwin only, June 21, 2010
|
||||
# GNU Makefile for QuakeSpasm for Darwin only, Aug. 31, 2010
|
||||
#
|
||||
# You need SDL and SDL_net fully installed.
|
||||
# "make DEBUG=1" builds debug client
|
||||
# "make SDLNET=1" to enable SDL_net. otherwise the socket api will be
|
||||
# used directly.
|
||||
# "make SDL_CONFIG=/path/to/sdl-config" for unusual SDL installations
|
||||
# You need the SDL library fully installed.
|
||||
# "make DEBUG=1" to build a debug client.
|
||||
# "make SDL_CONFIG=/path/to/sdl-config" for unusual SDL installations.
|
||||
# "make SDLNET=1" to use SDL_net (not recommended) instead of platform
|
||||
# specific code.
|
||||
#
|
||||
# Build objects are separate from those of codeblocks for now
|
||||
# (we aren't using codeblocks).
|
||||
|
@ -110,10 +110,10 @@ SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags)
|
|||
SDL_LFLAGS := $(shell $(SDL_CONFIG) --libs)
|
||||
|
||||
ifeq ($(SDLNET),1)
|
||||
NET_LIBS =-L/usr/local/lib -l SDL_net
|
||||
NET_LIBS :=-L/usr/local/lib -l SDL_net
|
||||
CFLAGS +=-D_USE_SDLNET
|
||||
else
|
||||
NET_LIBS =
|
||||
NET_LIBS :=
|
||||
endif
|
||||
|
||||
COMMON_LIBS = -Wl,-framework,OpenGL
|
||||
|
@ -229,7 +229,7 @@ debug:
|
|||
$(error Use "make DEBUG=1")
|
||||
|
||||
install: quakespasm
|
||||
mv quakespasm /usr/local/games/quake
|
||||
cp quakespasm /usr/local/games/quake
|
||||
|
||||
clean:
|
||||
rm -f $(shell find . \( -name '*~' -o -name '#*#' -o -name '*.o' -o -name '*.res' -o -name $(DEFAULT_TARGET) \) -print)
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
# GNU Makefile for cross-compiling quakespasm.exe (Win32 : MinGW)
|
||||
# using cross-toolchains on a linux host / Aug. 17, 2010.
|
||||
# "make DEBUG=1" builds debug client
|
||||
# "make WINSOCK2=1" to use WinSock2 api when not using SDL_net. otherwise,
|
||||
# WinSock 1.1 will be used.
|
||||
# "make SDLNET=1" to enable SDL_net. otherwise, the WinSock api will be
|
||||
# used directly.
|
||||
# "make SDL_CONFIG=/path/to/sdl-config" for sdl-config from cross-compiled SDL
|
||||
# using cross-toolchains on a linux host / Aug. 31, 2010.
|
||||
# "make DEBUG=1" to build a debug client.
|
||||
# "make SDL_CONFIG=/path/to/sdl-config" for unusual SDL installations.
|
||||
# "make WINSOCK2=1" to use WinSock2 api instead of old WinSock 1.1.
|
||||
# "make SDLNET=1" to use SDL_net (not recommended) instead of platform
|
||||
# specific code.
|
||||
|
||||
# ============================================================================
|
||||
# Helper functions
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
# GNU Makefile for cross-compiling quakespasm.exe (Win64 : MinGW-w64)
|
||||
# using cross-toolchains on a linux host / Aug. 17, 2010.
|
||||
# "make DEBUG=1" builds debug client
|
||||
# "make WINSOCK2=0" to use the old WinSock 1.1 api when not using SDL_net.
|
||||
# otherwise, WinSock2 api will be used.
|
||||
# "make SDLNET=1" to enable SDL_net. otherwise, the WinSock api will be
|
||||
# used directly.
|
||||
# "make SDL_CONFIG=/path/to/sdl-config" for sdl-config from cross-compiled SDL
|
||||
# using cross-toolchains on a linux host / Aug. 31, 2010.
|
||||
# "make DEBUG=1" to build a debug client.
|
||||
# "make SDL_CONFIG=/path/to/sdl-config" for unusual SDL installations.
|
||||
# "make WINSOCK2=0" to use the old WinSock 1.1 api (not recommended).
|
||||
# "make SDLNET=1" to use SDL_net (not recommended) instead of platform
|
||||
# specific code.
|
||||
|
||||
# ============================================================================
|
||||
# Helper functions
|
||||
|
|
Loading…
Reference in a new issue