From: Dale Weiler Date: Thu, 20 Dec 2012 08:49:14 +0000 (+0000) Subject: Allow uname override X-Git-Tag: 0.1.9~26 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=199540e6ca70f1157406396fd0643ded97f9fbb2;p=xonotic%2Fgmqcc.git Allow uname override --- diff --git a/Makefile b/Makefile index fe05bf5..e65f6c9 100644 --- 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