minor Makefile tidying

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@642 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2012-03-09 10:11:09 +00:00
parent 88a4c92ef5
commit cf406e06d0
4 changed files with 15 additions and 15 deletions

View file

@ -1,4 +1,4 @@
### GNU Makefile for QuakeSpasm unix targets, Dec. 27, 2011
### GNU Makefile for QuakeSpasm unix targets, March 09, 2012
#
# You need the SDL library fully installed.
# "make DEBUG=1" to build a debug client.
@ -32,7 +32,7 @@ SDLNET ?= 0
BUILDDIR := .
SYSNAME := $(shell uname -s)
SYSNAME := $(shell uname -s)
ifneq (,$(findstring MINGW32,$(SYSNAME)))
HOST_OS = WIN32
@ -54,7 +54,7 @@ endif
endif
# ---------------------------------------
# Define some build variables
# build variables
# ---------------------------------------
CC ?= gcc
@ -268,7 +268,7 @@ OBJS := strlcat.o \
$(SYSOBJ_SYS) $(SYSOBJ_MAIN) $(SYSOBJ_RES)
# ------------------------
# build rules for Linux
# Linux build rules
# ------------------------
quakespasm: $(OBJS)

View file

@ -1,4 +1,4 @@
### GNU Makefile for QuakeSpasm for Darwin, Dec. 27, 2011
### GNU Makefile for QuakeSpasm for Darwin, March 09, 2012
# Usage: "make -f Makefile.darwin"
#
@ -47,7 +47,7 @@ SDLNET ?= 0
BUILDDIR := .
SYSNAME := $(shell uname -s)
SYSNAME := $(shell uname -s)
ifneq (,$(findstring MINGW32,$(SYSNAME)))
HOST_OS = WIN32
@ -75,7 +75,7 @@ endif
endif
# ---------------------------------------
# Define some build variables
# build variables
# ---------------------------------------
CC ?= gcc
@ -294,7 +294,7 @@ OBJS := strlcat.o \
$(SYSOBJ_SYS) $(SYSOBJ_MAIN) $(SYSOBJ_RES)
# ------------------------
# build rules for Linux
# darwin build rules
# ------------------------
quakespasm: $(OBJS)

View file

@ -1,5 +1,5 @@
# GNU Makefile for cross-compiling quakespasm.exe (Win32 : MinGW)
# using cross-toolchains on a linux host / Dec. 27, 2011.
# using cross-toolchains on a linux host / March 09, 2012
# "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.
@ -34,7 +34,7 @@ SDLNET ?= 0
TOPDIR := $(shell pwd)
# ---------------------------------------
# Define some build variables
# build variables
# ---------------------------------------
TARGET=i686-pc-mingw32
@ -254,7 +254,7 @@ OBJS := strlcat.o \
$(SYSOBJ_SYS) $(SYSOBJ_MAIN) $(SYSOBJ_RES)
# ------------------------
# build rules for mingw :
# MinGW build rules
# ------------------------
quakespasm.exe: $(OBJS)

View file

@ -1,5 +1,5 @@
# GNU Makefile for cross-compiling quakespasm.exe (Win64 : MinGW-w64)
# using cross-toolchains on a linux host / Dec. 27, 2011.
# using cross-toolchains on a linux host / March 09, 2012
# "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).
@ -34,7 +34,7 @@ SDLNET ?= 0
TOPDIR := $(shell pwd)
# ---------------------------------------
# Define some build variables
# build variables
# ---------------------------------------
TARGET=x86_64-w64-mingw32
@ -254,11 +254,11 @@ OBJS := strlcat.o \
$(SYSOBJ_SYS) $(SYSOBJ_MAIN) $(SYSOBJ_RES)
# ------------------------
# build rules for mingw-w64 :
# MinGW-w64 build rules
# ------------------------
quakespasm.exe: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(LIBS) $(SDL_LIBS) -o $@
$(CC) $(OBJS) $(LIBS) $(SDL_LIBS) -o $@
$(call do_strip,$@)
release: quakespasm.exe