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