aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a5c13fd..ac99cf1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
-UNAME := $(shell uname)
+UNAME := $$( uname -s )
-ifeq ($(UNAME), Linux)
+.if ${UNAME} == "Linux"
CC=clang --std=gnu99
-else
+.else
CC=clang --std=c99
-endif
+.endif
CFLAGS=-Wall -Wextra -Werror -g
LIBS=