annotate Makefile @ 789:d61d3eb29053 default tip

Bump copyright.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 08 Mar 2024 15:26:24 +0200
parents 94e8e6ad8c9e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
599
ee165ef28b6f Improve few Makefile comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 576
diff changeset
1 ###
ee165ef28b6f Improve few Makefile comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 576
diff changeset
2 ### Configuration settings for Linux and generic UNIX
ee165ef28b6f Improve few Makefile comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 576
diff changeset
3 ###
254
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
422
c89f7aa4ced8 Cleanup Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
5 # Miscellaneous
599
ee165ef28b6f Improve few Makefile comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 576
diff changeset
6 BINTOOL_PREFIX ?=
ee165ef28b6f Improve few Makefile comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 576
diff changeset
7 PREFIX ?= /usr/local
ee165ef28b6f Improve few Makefile comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 576
diff changeset
8 BINPATH ?= ./
ee165ef28b6f Improve few Makefile comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 576
diff changeset
9 OBJPATH ?= obj/unix/
ee165ef28b6f Improve few Makefile comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 576
diff changeset
10 BINEXT ?=
422
c89f7aa4ced8 Cleanup Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
11
433
0a2f32b8a26e Improve the build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 422
diff changeset
12 # Compiler flags and linker flags
399
edb6b42c5e8a Build system cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 391
diff changeset
13 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
14 LDFLAGS +=
3d1e2af4e4e6 Start of a very simplistic unit test suite. Initially handling just printf()
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15
399
edb6b42c5e8a Build system cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 391
diff changeset
16 CFLAGS += -DHAVE_STRING_H
735
31bc1ed07cf5 Renaming BOOL->bool and TRUE/FALSE to true/false, and using stdbool.h if available.
Matti Hamalainen <ccr@tnsp.org>
parents: 599
diff changeset
17 CFLAGS += -DHAVE_STDBOOL_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
782
94e8e6ad8c9e Rename Makefile.gen to Makefile.common
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
29 include Makefile.common