annotate Makefile @ 583:d60e1d751b5b

Improve few comments.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 12 Jan 2020 13:00:58 +0200
parents e4ae9ef86332
children ee165ef28b6f
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/
562
5d2c1bfc04aa Rename EXEEXT to BINEXT in the build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 457
diff changeset
11 BINEXT =
422
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
576
e4ae9ef86332 Remove useless HAVE_* defines.
Matti Hamalainen <ccr@tnsp.org>
parents: 562
diff changeset
18 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
19 #CFLAGS += -DHAVE_SYS_TYPES_H
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20
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 ###
422
c89f7aa4ced8 Cleanup Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
23 ### Unix targets
254
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 ###
562
5d2c1bfc04aa Rename EXEEXT to BINEXT in the build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 457
diff changeset
25 ENDIANCHK_BIN = $(BINPATH)endianchk$(BINEXT)
254
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26 NOINST_TARGETS += $(ENDIANCHK_BIN) config.h
302
3f05f6fb5dfd Fix build.
Matti Hamalainen <ccr@tnsp.org>
parents: 254
diff changeset
27 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
28
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29 include Makefile.gen