svkbd/config.mk

33 lines
620 B
Makefile
Raw Normal View History

2008-07-15 16:53:38 +00:00
# svkbd version
VERSION = 0.1
2011-03-24 18:31:00 +00:00
LAYOUT?=def
2008-07-15 16:53:38 +00:00
# Customize below to fit your system
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# includes and libs
2011-03-24 18:31:00 +00:00
INCS = -I. -I./layouts -I/usr/include -I${X11INC}
2008-07-15 20:12:55 +00:00
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXtst
2008-07-15 16:53:38 +00:00
# flags
2011-03-24 18:31:00 +00:00
CPPFLAGS = -DVERSION=\"${VERSION}\" \
-DCONFIGLAYOUT_H=\"layout.${LAYOUT}.h\" \
${XINERAMAFLAGS}
2008-07-15 16:53:38 +00:00
CFLAGS = -g -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -g ${LIBS}
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = ${LIBS}
# compiler and linker
CC = cc
2011-03-24 18:31:00 +00:00