aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:47:15 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:47:15 +0200
commit8cc4f92e393d778c0f7afb616f023f4656e2ea9c (patch)
tree208c572112477c2462e1e606a7cc6d776824286e /config.mk
parentSimplify and cahgne license (diff)
downloadsleeping-getty-8cc4f92e393d778c0f7afb616f023f4656e2ea9c.tar.gz
sleeping-getty-8cc4f92e393d778c0f7afb616f023f4656e2ea9c.tar.bz2
sleeping-getty-8cc4f92e393d778c0f7afb616f023f4656e2ea9c.tar.xz
m + improve makefile + use <sys/ioctl.h> instead of <stropts.h> which doesn' exist anymore1.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index ead8646..54fd36d 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
-PREFIX = /usr/local
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
+CC = cc
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CFLAGS = -std=c99 -Wall -Wextra -Os $(CPPFLAGS)
+CFLAGS = -std=c99 -Wall -Os
LDFLAGS = -s