Cmake is bloat and wmfs doesn't need a complex build system So now wmfs compile with a Makefile using gmake and pkg-config compilation options can be customised through confix.mk (dwm like) Remove doxygen config files (wmfs code doesn't use it, and nobody use doxygen with wmfs) Replace wmfsrc.in by wmfsrc (change @WMFS_TERM@ and use shell choice urxvt || xterm || ...) Remove generation of Changelog file (we can git log > Changelog before creating a dist package) Remove README from install process (this file don't need to be included in dist package) What's next before merging into master ? - provide a BSD Makefile - discuss if we use or not pkg-config (we can document common places to include directory and libs in config.mk) - compile out of tree
20 lines
491 B
Makefile
20 lines
491 B
Makefile
# wmfs version
|
|
VERSION= 201011
|
|
|
|
# Customize below to fit your system
|
|
# x11 xft and freetype2 are REQUIRED, others are optionals
|
|
LIBS= x11 xft freetype2 xrandr xinerama imlib2
|
|
|
|
# paths
|
|
PREFIX= /usr/local
|
|
MANPREFIX= ${PREFIX}/share/man
|
|
XDG_CONFIG_DIR= /usr/local/etc/xdg/wmfs
|
|
|
|
# flags
|
|
CFLAGS= -Wall -DXDG_CONFIG_DIR=\"${XDG_CONFIG_DIR}\"
|
|
CFLAGS+= $(shell pkg-config --cflags-only-I ${LIBS})
|
|
LDFLAGS= $(shell pkg-config --libs ${LIBS}) -lpthread
|
|
CFLAGS+= -DWMFS_VERSION=\"${VERSION}\"
|
|
|
|
CC = cc
|