my config
[azarus-st.git] / config.mk
blobbbebd515a13566f8bb45cfd0a16a5ef859662a34
1 # st version
2 VERSION = 0.8.1
4 # Customize below to fit your system
6 # paths
7 PREFIX = /usr/local
8 MANPREFIX = $(PREFIX)/share/man
10 X11INC = /usr/X11R6/include
11 X11LIB = /usr/X11R6/lib
13 # includes and libs
14 INCS = -I. -I/usr/include -I${X11INC} \
15 `pkg-config --cflags fontconfig` \
16 `pkg-config --cflags freetype2`
17 LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXft -lXrender\
18 `pkg-config --libs fontconfig` \
19 `pkg-config --libs freetype2`
21 # flags
22 CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
23 STCFLAGS = $(INCS) $(CPPFLAGS) $(CFLAGS)
24 STLDFLAGS = $(LIBS) $(LDFLAGS)
26 # OpenBSD:
27 #CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
28 #LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft \
29 # `pkg-config --libs fontconfig` \
30 # `pkg-config --libs freetype2`
32 # compiler and linker
33 # CC = c99