xmenu/config.mk

27 lines
481 B
Makefile
Raw Normal View History

2020-05-17 22:01:46 +02:00
# program name
2020-05-16 00:02:23 +02:00
PROG = xmenu
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
2020-05-19 03:27:56 +02:00
FREETYPEINC = /usr/include/freetype2
FREETYPELIB = -lfontconfig -lXft
# OpenBSD (uncomment)
#FREETYPEINC = $(X11INC)/freetype2
2020-05-16 00:02:23 +02:00
# includes and libs
2020-05-19 03:27:56 +02:00
INCS = -I${X11INC} -I${FREETYPEINC}
LIBS = -L${X11LIB} -L${FREETYPELIB} -lX11
2020-05-16 00:02:23 +02:00
# flags
CPPFLAGS =
CFLAGS = -Wall -Wextra ${INCS} ${CPPFLAGS}
LDFLAGS = ${LIBS}
# compiler and linker
CC = cc