summaryrefslogtreecommitdiff
blob: ed76049865eed099fc69b2426f2a557836aee3eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/Makefile	2012-01-11 17:18:57.000000000 +0100
+++ b/Makefile	2018-07-09 23:00:04.111252307 +0200
@@ -6,16 +6,15 @@
 binprefix = 
 manprefix = /usr
 exec_prefix = $(binprefix)/
-sbindir = $(exec_prefix)sbin
+sbindir = $(exec_prefix)usr/sbin
 mandir = $(manprefix)/share/man
 oldmandir = $(manprefix)/man
 
-CC = gcc
+CC ?= gcc
 STRIP = strip
 
-CFLAGS := -g -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
+CFLAGS := -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
 
-LDFLAGS = -s
 #LDFLAGS = -s -static
 INSTALL = install
 INSTALL_DATA = $(INSTALL) -m 644