Mercurial > hg > nnchat
annotate Makefile @ 718:1ab9b538c0bb default tip
Rename Makefile.gen to Makefile.common
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 03 Aug 2023 19:17:58 +0300 |
parents | 93d0e1547842 |
children |
rev | line source |
---|---|
0 | 1 # |
204
937db3c2465f
Added Makefile for Solaris 9+ and removed references to it from main Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
93
diff
changeset
|
2 # Configuration settings for Linux and generic UNIX |
937db3c2465f
Added Makefile for Solaris 9+ and removed references to it from main Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
93
diff
changeset
|
3 # See other Makefile.* files for more options. |
0 | 4 # |
5 | |
6 # C-compiler, flags and linker flags | |
712
3a3e4fc53ac7
Refactor the build system a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
665
diff
changeset
|
7 #CFLAGS += -fsanitize=address |
3a3e4fc53ac7
Refactor the build system a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
665
diff
changeset
|
8 #LDFLAGS +== -lasan |
3a3e4fc53ac7
Refactor the build system a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
665
diff
changeset
|
9 LDFLAGS += -lncurses |
0 | 10 |
712
3a3e4fc53ac7
Refactor the build system a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
665
diff
changeset
|
11 CFLAGS += -DUSE_XDG=1 |
3a3e4fc53ac7
Refactor the build system a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
665
diff
changeset
|
12 |
3a3e4fc53ac7
Refactor the build system a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
665
diff
changeset
|
13 CFLAGS += -DHAVE_STRING_H |
713
93d0e1547842
th-libs now uses stdbool.h if possible, so we need to rename all
Matti Hamalainen <ccr@tnsp.org>
parents:
712
diff
changeset
|
14 CFLAGS += -DHAVE_STDBOOL_H |
712
3a3e4fc53ac7
Refactor the build system a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
665
diff
changeset
|
15 CFLAGS += -DHAVE_INTTYPES_H |
0 | 16 #CFLAGS += -DHAVE_SYS_TYPES_H |
17 | |
665
23d16d9cdf96
Work on the build system, split generic UNIX things into Makefile.unix
Matti Hamalainen <ccr@tnsp.org>
parents:
651
diff
changeset
|
18 include Makefile.unix |