From e1bb13058dfb4c7f783293cf3cd5178d916efd6f Mon Sep 17 00:00:00 2001 From: El-BG-1970 Date: Thu, 21 Oct 2021 14:52:05 +0200 Subject: makefile adapted updated for openbsd --- Makefile | 8 ++++---- 1 file 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= -- cgit v1.2.3