annotate Makefile @ 457:85fa3d333556

Actually, revert the boolean changes .. meh.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Jan 2018 23:09:29 +0200
parents efd33accdc81
children 5d2c1bfc04aa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
254
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # Configuration settings for Linux and generic UNIX
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 # See other Makefile.* files for more options.
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 #
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5
422
c89f7aa4ced8 Cleanup Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
6 # Miscellaneous
433
0a2f32b8a26e Improve the build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 422
diff changeset
7 BINTOOL_PREFIX =
422
c89f7aa4ced8 Cleanup Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
8 PREFIX = /usr/local
c89f7aa4ced8 Cleanup Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
9 BINPATH = ./
c89f7aa4ced8 Cleanup Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
10 OBJPATH = obj/unix/
c89f7aa4ced8 Cleanup Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
11 EXEEXT =
c89f7aa4ced8 Cleanup Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
12
433
0a2f32b8a26e Improve the build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 422
diff changeset
13 # Compiler flags and linker flags
399
edb6b42c5e8a Build system cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 391
diff changeset
14 CFLAGS += -DHAVE_CONFIG_H
254
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 LDFLAGS +=
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16
399
edb6b42c5e8a Build system cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 391
diff changeset
17 CFLAGS += -DHAVE_STRING_H
391
6e6c8c4fc210 Buildsystem improvements.
Matti Hamalainen <ccr@tnsp.org>
parents: 382
diff changeset
18 CFLAGS += -DHAVE_STDINT_H
254
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 #CFLAGS += -DHAVE_SYS_TYPES_H
391
6e6c8c4fc210 Buildsystem improvements.
Matti Hamalainen <ccr@tnsp.org>
parents: 382
diff changeset
20 CFLAGS += -DHAVE_INTTYPES_H
254
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 ###
422
c89f7aa4ced8 Cleanup Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
24 ### Unix targets
254
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25 ###
302
3f05f6fb5dfd Fix build.
Matti Hamalainen <ccr@tnsp.org>
parents: 254
diff changeset
26 ENDIANCHK_BIN = $(BINPATH)endianchk$(EXEEXT)
254
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27 NOINST_TARGETS += $(ENDIANCHK_BIN) config.h
302
3f05f6fb5dfd Fix build.
Matti Hamalainen <ccr@tnsp.org>
parents: 254
diff changeset
28 THLIBS_DEP += config.h
254
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30 include Makefile.gen