patch-Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --- evilwm-1.1.1.orig/Makefile 2015-07-13 12:19:36.000000000 +0200
  2. +++ evilwm-1.1.1/Makefile 2016-11-10 02:38:08.961425099 +0100
  3. @@ -17,6 +17,10 @@ desktopfilesdir = $(datarootdir)/applica
  4. ############################################################################
  5. # Features
  6. +XROOT ?= /usr/X11R6
  7. +OPT_CPPFLAGS += -I$(XROOT)/include
  8. +OPT_LDLIBS += -L$(XROOT)/lib
  9. +
  10. # Uncomment to enable info banner on holding Ctrl+Alt+I.
  11. OPT_CPPFLAGS += -DINFOBANNER
  12. @@ -71,10 +75,10 @@ OPT_CPPFLAGS += -DVWM
  13. # Build tools
  14. # Change this if you don't use gcc:
  15. -CC = gcc
  16. +CC ?= gcc
  17. # Override if desired:
  18. -CFLAGS = -Os
  19. +CFLAGS ?= -Os
  20. WARN = -Wall -W -Wstrict-prototypes -Wpointer-arith -Wcast-align \
  21. -Wshadow -Waggregate-return -Wnested-externs -Winline -Wwrite-strings \
  22. -Wundef -Wsign-compare -Wmissing-prototypes -Wredundant-decls
  23. @@ -89,7 +93,7 @@ WARN = -Wall -W -Wstrict-prototypes -Wpo
  24. # Override INSTALL_STRIP if you don't want a stripped binary
  25. INSTALL = install
  26. -INSTALL_STRIP = -s
  27. +INSTALL_STRIP =
  28. INSTALL_DIR = $(INSTALL) -d -m 0755
  29. INSTALL_FILE = $(INSTALL) -m 0644
  30. INSTALL_PROGRAM = $(INSTALL) -m 0755 $(INSTALL_STRIP)