tmenu

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.inz.fi/tmenu
Log | Files | Refs | README | LICENSE

config.mk (510B)


      1 # tmenu version
      2 VERSION = 5.4
      3 
      4 # paths
      5 PREFIX = /usr/local
      6 MANPREFIX = $(PREFIX)/share/man
      7 
      8 NCURSESCFLAGS = $(filter -I%,$(shell pkg-config --cflags ncursesw))
      9 NCURSESLIBS = $(shell pkg-config --libs ncursesw)
     10 
     11 # includes and libs
     12 INCS = $(NCURSESCFLAGS)
     13 LIBS = $(NCURSESLIBS)
     14 
     15 # flags
     16 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"
     17 CFLAGS   = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS)
     18 LDFLAGS  = $(LIBS)
     19 
     20 # compiler and linker
     21 CC = cc