blob: 8e4ce89a4bd43083430e7fb86632333f9896fe4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Do not overwrite *FLAGS
Use CC and PREFIX from the environment
--- a/config.mk
+++ b/config.mk
@@ -4,13 +4,8 @@
# Customize below to fit your system
# paths
-PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
# flags
-CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
-CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
-LDFLAGS = -lpthread -s
-
-# compiler and linker
-CC = cc
+CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
+LDFLAGS += -lpthread
|