From 199540e6ca70f1157406396fd0643ded97f9fbb2 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Thu, 20 Dec 2012 08:49:14 +0000 Subject: [PATCH] Allow uname override --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2