diff Makefile @ 712:3a3e4fc53ac7

Refactor the build system a bit.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 07 Dec 2022 13:19:25 +0200
parents 23d16d9cdf96
children 93d0e1547842
line wrap: on
line diff
--- a/Makefile	Wed Dec 07 13:18:06 2022 +0200
+++ b/Makefile	Wed Dec 07 13:19:25 2022 +0200
@@ -4,10 +4,14 @@
 #
 
 # C-compiler, flags and linker flags
-CFLAGS = -DHAVE_STRING_H -DHAVE_STDINT_H -DUSE_XDG=1
-LDFLAGS = -lncurses
+#CFLAGS += -fsanitize=address
+#LDFLAGS +== -lasan
+LDFLAGS += -lncurses
 
-#CFLAGS += -DHAVE_STDINT_H
+CFLAGS += -DUSE_XDG=1
+
+CFLAGS += -DHAVE_STRING_H
+CFLAGS += -DHAVE_INTTYPES_H
 #CFLAGS += -DHAVE_SYS_TYPES_H
 
 include Makefile.unix