birdterm

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

commit 8a2064d3f1532b809f16a6a2bf1651ae75f3ecef
parent 7c47d43f39bb4f4f32f11bb9311c342ca07c6df9
Author: mrgrouse <bdmfegys@duck.com>
Date:   Fri, 15 Nov 2024 17:31:11 -0500

config.mk: copy old birdterm over

Diffstat:
Mconfig.mk | 15++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/config.mk b/config.mk @@ -1,5 +1,5 @@ -# st version -VERSION = 0.9.2 +# birdterm version +VERSION = 0.9 # Customize below to fit your system @@ -16,13 +16,13 @@ PKG_CONFIG = pkg-config INCS = -I$(X11INC) \ `$(PKG_CONFIG) --cflags fontconfig` \ `$(PKG_CONFIG) --cflags freetype2` -LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \ +LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft -lXrender\ `$(PKG_CONFIG) --libs fontconfig` \ `$(PKG_CONFIG) --libs freetype2` # flags STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS) +STCFLAGS = -static $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS) STLDFLAGS = $(LIBS) $(LDFLAGS) # OpenBSD: @@ -33,4 +33,9 @@ STLDFLAGS = $(LIBS) $(LDFLAGS) #MANPREFIX = ${PREFIX}/man # compiler and linker -# CC = c99 +# if statement for testing if tcc exists +ifeq ($(shell which tcc), $(shell false)) + CC = cc +else + CC = tcc +endif