You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
590 B
Makefile

8 years ago
# st version
7 years ago
VERSION = 0.7
8 years ago
# Customize below to fit your system
# paths
PREFIX = ~/.local
7 years ago
MANPREFIX = $(PREFIX)/share/man
8 years ago
X11INC = /usr/include/X11
X11LIB = /usr/lib
# includes and libs
7 years ago
INCS = -I$(X11INC) \
8 years ago
`pkg-config --cflags fontconfig` \
`pkg-config --cflags freetype2`
7 years ago
LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
`pkg-config --libs fontconfig` \
8 years ago
`pkg-config --libs freetype2`
# flags
7 years ago
CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
STCFLAGS = $(INCS) $(CPPFLAGS) $(CFLAGS)
STLDFLAGS = $(LIBS) $(LDFLAGS)
8 years ago
# compiler and linker
7 years ago
# CC = c99
8 years ago