1
0

patch-Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --- evilwm-1.1.0.orig/Makefile 2011-07-03 16:14:21.000000000 +0200
  2. +++ evilwm-1.1.0/Makefile 2011-12-01 06:25:59.048654953 +0100
  3. @@ -26,9 +26,13 @@ OPT_CPPFLAGS += -DINFOBANNER
  4. # Uncomment for mouse support. Recommended.
  5. OPT_CPPFLAGS += -DMOUSE
  6. ++XROOT ?= /usr/X11R6
  7. +OPT_CPPFLAGS += -I$(XROOT)/include
  8. +OPT_LDLIBS += -L$(XROOT)/lib
  9. +
  10. # Uncomment to support the Xrandr extension (thanks, Yura Semashko).
  11. -OPT_CPPFLAGS += -DRANDR
  12. -OPT_LDLIBS += -lXrandr
  13. +#OPT_CPPFLAGS += -DRANDR
  14. +#OPT_LDLIBS += -lXrandr
  15. # Uncomment to support shaped windows.
  16. OPT_CPPFLAGS += -DSHAPE
  17. @@ -74,10 +78,11 @@ OPT_CPPFLAGS += -DWARP_POINTER
  18. # Build tools
  19. # Change this if you don't use gcc:
  20. -CC = gcc
  21. +CC ?= gcc
  22. # Override if desired:
  23. -CFLAGS = -Os -std=c99
  24. +CFLAGS ?=
  25. +CFLAGS += -std=c99
  26. WARN = -Wall -W -Wstrict-prototypes -Wpointer-arith -Wcast-align \
  27. -Wshadow -Waggregate-return -Wnested-externs -Winline -Wwrite-strings \
  28. -Wundef -Wsign-compare -Wmissing-prototypes -Wredundant-decls
  29. @@ -95,7 +100,7 @@ INSTALL = install
  30. INSTALL_STRIP = -s
  31. INSTALL_DIR = $(INSTALL) -d -m 0755
  32. INSTALL_FILE = $(INSTALL) -m 0644
  33. -INSTALL_PROGRAM = $(INSTALL) -m 0755 $(INSTALL_STRIP)
  34. +INSTALL_PROGRAM = $(INSTALL) -m 0755
  35. ############################################################################
  36. # You shouldn't need to change anything beyond this point