patch-Makefile.orig 991 B

12345678910111213141516171819202122232425
  1. --- evilwm-1.0.1.orig/Makefile 2009-03-30 12:37:06.000000000 +0200
  2. +++ evilwm-1.0.1/Makefile 2010-01-22 17:12:43.000000000 +0100
  3. @@ -1,11 +1,11 @@
  4. # If you don't use CC
  5. -CC = gcc
  6. +CC ?= gcc
  7. # Edit this line if you don't want evilwm to install under /usr.
  8. # Note that $(DESTDIR) is used by the Debian build process.
  9. prefix = $(DESTDIR)/usr
  10. -XROOT = /usr/X11R6
  11. +XROOT ?= /usr/X11R6
  12. INCLUDES = -I$(XROOT)/include
  13. LDPATH = -L$(XROOT)/lib
  14. LIBS = -lX11
  15. @@ -71,7 +71,7 @@ distname = evilwm-$(version)
  16. #DEFINES += -DXDEBUG # show some X calls
  17. DEFINES += -DVERSION=\"$(version)\" $(DEBIAN)
  18. -CFLAGS += $(INCLUDES) $(DEFINES) -Os -Wall
  19. +CFLAGS += $(INCLUDES) $(DEFINES) -Wall
  20. #CFLAGS += $(INCLUDES) $(DEFINES) -g -Wall
  21. CFLAGS += -W -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Waggregate-return -Wnested-externs -Winline -Wwrite-strings -Wundef -Wsign-compare -Wmissing-prototypes -Wredundant-decls
  22. LDFLAGS += $(LDPATH) $(LIBS)