comparison 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
comparison
equal deleted inserted replaced
711:6b79b3438818 712:3a3e4fc53ac7
2 # Configuration settings for Linux and generic UNIX 2 # Configuration settings for Linux and generic UNIX
3 # See other Makefile.* files for more options. 3 # See other Makefile.* files for more options.
4 # 4 #
5 5
6 # C-compiler, flags and linker flags 6 # C-compiler, flags and linker flags
7 CFLAGS = -DHAVE_STRING_H -DHAVE_STDINT_H -DUSE_XDG=1 7 #CFLAGS += -fsanitize=address
8 LDFLAGS = -lncurses 8 #LDFLAGS +== -lasan
9 LDFLAGS += -lncurses
9 10
10 #CFLAGS += -DHAVE_STDINT_H 11 CFLAGS += -DUSE_XDG=1
12
13 CFLAGS += -DHAVE_STRING_H
14 CFLAGS += -DHAVE_INTTYPES_H
11 #CFLAGS += -DHAVE_SYS_TYPES_H 15 #CFLAGS += -DHAVE_SYS_TYPES_H
12 16
13 include Makefile.unix 17 include Makefile.unix