From 79f4e15a637b63eebbe027c07d30fea596bd7e0a Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Thu, 23 May 2024 11:21:38 -0700 Subject: [PATCH] windows make fix? --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4e0aaf7..8413720 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,12 @@ COMMIT=$(shell git rev-parse HEAD) VERSION=$(shell cat VERSION) DATE=$(shell date +'%FT%TZ%z') -CC ?= gcc -AR ?= ar +ifndef CC +CC=gcc +endif +ifndef AR +AR=ar +endif ifeq ($(shell uname -s),Darwin) CONFIG_DARWIN=y