From c244759929fe8b9a4ad52d6d8727d13da8db6785 Mon Sep 17 00:00:00 2001 From: Sven Nilsen Date: Sat, 14 Jun 2014 09:33:58 +0200 Subject: [PATCH] Added UNAME variable Closes https://github.com/andelf/rust-sdl2_mixer/issues/6 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index eed43e4c..1b5fd786 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,8 @@ COMPILER = rustc # For debugging: # COMPILER_FLAGS = -g +UNAME=$(shell uname) + ifeq ($(UNAME),Darwin) # If the user wasn't explicit, see if SDL2 library exists ifeq ("$(strip $(SDL_MODE))","")