first commit: new st config

This commit is contained in:
2024-09-14 22:44:52 +04:00
parent a0274bc20e
commit 3285ec77ca
14 changed files with 979 additions and 208 deletions

View File

@@ -1,5 +1,5 @@
# st version
VERSION = 0.9.2
VERSION = 0.9
# Customize below to fit your system
@@ -15,10 +15,12 @@ PKG_CONFIG = pkg-config
# includes and libs
INCS = -I$(X11INC) \
`$(PKG_CONFIG) --cflags fontconfig` \
`$(PKG_CONFIG) --cflags freetype2`
`$(PKG_CONFIG) --cflags freetype2` \
`$(PKG_CONFIG) --cflags harfbuzz`
LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
`$(PKG_CONFIG) --libs fontconfig` \
`$(PKG_CONFIG) --libs freetype2`
`$(PKG_CONFIG) --libs freetype2` \
`$(PKG_CONFIG) --libs harfbuzz`
# flags
STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
@@ -34,3 +36,4 @@ STLDFLAGS = $(LIBS) $(LDFLAGS)
# compiler and linker
# CC = c99