dmenu

Simple dynamic menu for X
git clone https://git.sinitax.com/suckless/dmenu
Log | Files | Refs | README | LICENSE | sfeed.txt

config.mk (771B)


      1# dmenu version
      2VERSION = 5.3
      3
      4# paths
      5PREFIX = /usr/local
      6MANPREFIX = $(PREFIX)/share/man
      7
      8X11INC = /usr/X11R6/include
      9X11LIB = /usr/X11R6/lib
     10
     11# Xinerama, comment if you don't want it
     12XINERAMALIBS  = -lXinerama
     13XINERAMAFLAGS = -DXINERAMA
     14
     15# freetype
     16FREETYPELIBS = -lfontconfig -lXft
     17FREETYPEINC = /usr/include/freetype2
     18# OpenBSD (uncomment)
     19#FREETYPEINC = $(X11INC)/freetype2
     20#MANPREFIX = ${PREFIX}/man
     21
     22# includes and libs
     23INCS = -I$(X11INC) -I$(FREETYPEINC)
     24LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS)
     25
     26# flags
     27CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)
     28CFLAGS   = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS)
     29LDFLAGS  = $(LIBS)
     30
     31# compiler and linker
     32CC = cc