]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Allow uname override
authorDale Weiler <killfieldengine@gmail.com>
Thu, 20 Dec 2012 08:49:14 +0000 (08:49 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 20 Dec 2012 08:49:14 +0000 (08:49 +0000)
Makefile

index fe05bf5398682fc87daac297a2b5f5a6ee01b45d..e65f6c97aa27b592ada5ec67647d6c1a86dfa7c2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,9 @@ BINDIR  := $(PREFIX)/bin
 DATADIR := $(PREFIX)/share
 MANDIR  := $(DATADIR)/man
 
-UNAME  = $(shell uname)
-CYGWIN = $(findstring CYGWIN,  $(UNAME))
-MINGW  = $(findstring MINGW32, $(UNAME))
+UNAME  ?= $(shell uname)
+CYGWIN  = $(findstring CYGWIN,  $(UNAME))
+MINGW   = $(findstring MINGW32, $(UNAME))
 
 CC     ?= clang
 CFLAGS += -Wall -Wextra -I. -pedantic-errors -std=gnu99