dmenu for lunch applications in dwm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
747 B

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