birdsurf

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5053edbe01fcbc328b13b44f58205725143c3a76
parent e71d26edcfa87aafc179a596e0cde9ffa7b46c56
Author: grouse <bdmfegys@duck.com>
Date:   Sun, 25 Feb 2024 15:24:51 -0500

add birdwm TCCCHECK if statement to config.mk

Diffstat:
Mconfig.mk | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/config.mk b/config.mk @@ -29,4 +29,9 @@ SURFCFLAGS = -fPIC $(INCS) $(CPPFLAGS) WEBEXTCFLAGS = -fPIC $(WEBEXTINC) # compiler -CC = tcc +TCCCHECK = $(shell which tcc) +ifeq ($(TCCCHECK), $(shell false)) + CC = cc +else + CC =-tcc +endif