dmenu

Mahdi's build of dmenu
git clone git://mahdi.pw/dmenu.git
Log | Files | Refs | README | LICENSE

config.mk (840B)


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