Skip to content

Instantly share code, notes, and snippets.

@wtfbbqhax
Created June 12, 2016 23:49
Show Gist options
  • Save wtfbbqhax/06fd31aa531a3916f3f9675c18704dea to your computer and use it in GitHub Desktop.
Save wtfbbqhax/06fd31aa531a3916f3f9675c18704dea to your computer and use it in GitHub Desktop.
ioq3/Tremulous Makefile.local
#
# .,;. `':.
# ;':;:,:;, ';
# .;|' `' '; ':
# :!`: . .:. .¡` ':,
# :::' .`ˆ`vjr;, !¡:..
# ;; .:``;,;;''; blowFish@badsec.org
# ':;¡'; ';'. ' ```:¡!;'````````````
# `'`;.._':.: .,::`
# . ':;..;,:;..';;` . `',
# . '..':'` `;' .;` ';, .`';,.
# .', ` `'..:' .;` .`'';';
# ` .;; ;. .,;' : . ' ; ;
# `;;;' '....` .:;,.'`'. ` `
# ` .;'`'., .., '' .
# ;' ' !: .:`'. ''.
# '._.''.`;.:` ` '' ` .
#
# June 09, 2016 Revision 1
VERSION=1.1.0.backport.0
USE_GIT=0
# build everything always~ no surprises.
BUILD_STANDALONE = 1
BUILD_CLIENT = 1
BUILD_SERVER = 1
BUILD_GAME_SO = 1
BUILD_GAME_QVM = 1
BUILD_RENDERER_OPENGL2 = 1
USE_INTERNAL_LIBS = 1 # FIXME: SDL2
USE_LOCAL_HEADERS = 1 # FIXME: Why is this
USE_FREETYPE = 1
USE_OPENAL = 1
USE_OPENAL_DLOPEN = 0
USE_MUMBLE = 0
USE_VOIP = 0
USE_RENDERER_DLOPEN = 0
# FIXME: Unused/TBD
#CFLAGS=-std=gnu99 -O3 -Wall -Wextra -Wformat -Wimplicit -Wstrict-prototypes
#CXXFLAGS=-std=gnu++11 -O3 -Wall
# _
# __| | _____ __
# / _` |/ _ \ \ / /
#| (_| | __/\ V /
# \__,_|\___| \_/
#
SANITIZE=-fsanitize=address -fno-omit-frame-pointer -fsanitize-blacklist=misc/blacklist.txt
DEBUG_CFLAGS=-std=gnu99 -g3 -O0 $(SANITIZE) -Rpass -Wall -Wimplicit -Wstrict-prototypes -Wextra -Wformat
LDFLAGS+=$(SANITIZE)
# incase I ever get clang 3.9
#SANITIZE=-fsanitze=address,thread,undefined,dataflow,cfi -fsanitize-recover=all -fno-omit-frame-pointer -fsanitize-blacklist=blacklist.txt
#DEBUG_CFLAGS=-glldb -O0 $(SANITIZE) -Rpass -Wall -Wimplicit -Wstrict-prototypes -Rpass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment