aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEl-BG-1970 <elouangros@hotmail.com>2021-10-21 14:52:05 +0200
committerEl-BG-1970 <elouangros@hotmail.com>2021-10-21 14:52:05 +0200
commite1bb13058dfb4c7f783293cf3cd5178d916efd6f (patch)
treec6ac098501ed46d78514d438a565906650a7f8a6
parentea9940af5210e52367dcce24d144c163a71b7720 (diff)
downloadorg-to-conky-e1bb13058dfb4c7f783293cf3cd5178d916efd6f.tar.gz
makefile adapted updated for openbsd
-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=