configs/st/config.mk

29 lines
590 B
Makefile
Raw Normal View History

2016-05-20 01:54:21 +02:00
# st version
2017-12-12 02:41:30 +01:00
VERSION = 0.7
2016-05-20 01:54:21 +02:00
# Customize below to fit your system
# paths
PREFIX = ~/.local
2017-12-12 02:41:30 +01:00
MANPREFIX = $(PREFIX)/share/man
2016-05-20 01:54:21 +02:00
X11INC = /usr/include/X11
X11LIB = /usr/lib
# includes and libs
2017-12-12 02:41:30 +01:00
INCS = -I$(X11INC) \
2016-05-20 01:54:21 +02:00
`pkg-config --cflags fontconfig` \
`pkg-config --cflags freetype2`
2017-12-12 02:41:30 +01:00
LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
`pkg-config --libs fontconfig` \
2016-05-20 01:54:21 +02:00
`pkg-config --libs freetype2`
# flags
2017-12-12 02:41:30 +01:00
CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
STCFLAGS = $(INCS) $(CPPFLAGS) $(CFLAGS)
STLDFLAGS = $(LIBS) $(LDFLAGS)
2016-05-20 01:54:21 +02:00
# compiler and linker
2017-12-12 02:41:30 +01:00
# CC = c99
2016-05-20 01:54:21 +02:00