Mercurial > hg > sidinfo
annotate Makefile @ 320:e315bed7d791
Minor cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 11 Jan 2020 20:18:24 +0200 |
parents | 4c00b579d7ac |
children | 5fafd0735b18 |
rev | line source |
---|---|
0 | 1 # |
2 # Configuration settings for Linux and generic UNIX | |
3 # See other Makefile.* files for more options. | |
4 # | |
5 | |
130 | 6 # Compiler, flags and linker flags |
68 | 7 PREFIX ?= /usr/local |
130 | 8 |
9 BINTOOL_PREFIX = | |
0 | 10 |
122
9fb96c170bbc
Make build process less noisy and also work with parallel make.
Matti Hamalainen <ccr@tnsp.org>
parents:
68
diff
changeset
|
11 CFLAGS += -DHAVE_CONFIG_H |
68 | 12 LDFLAGS += |
0 | 13 |
157
8fc887cb56d0
Implement iconv support for converting from PSID de-facto latin-1/ISO-8859-*
Matti Hamalainen <ccr@tnsp.org>
parents:
130
diff
changeset
|
14 CFLAGS += -DHAVE_ICONV |
8fc887cb56d0
Implement iconv support for converting from PSID de-facto latin-1/ISO-8859-*
Matti Hamalainen <ccr@tnsp.org>
parents:
130
diff
changeset
|
15 |
122
9fb96c170bbc
Make build process less noisy and also work with parallel make.
Matti Hamalainen <ccr@tnsp.org>
parents:
68
diff
changeset
|
16 CFLAGS += -DHAVE_STRING_H |
298 | 17 CFLAGS += -DHAVE_INTTYPES_H |
18 #CFLAGS += -DHAVE_STDINT_H | |
0 | 19 #CFLAGS += -DHAVE_SYS_TYPES_H |
20 | |
21 # Miscellaneous | |
22 BINPATH=./ | |
23 OBJPATH=obj/unix/ | |
274
a5bc27d26174
Rename EXEEXT to BINEXT in the build system, as per changes in th-libs build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
157
diff
changeset
|
24 BINEXT= |
0 | 25 |
26 | |
4 | 27 ### |
28 ### Stuff | |
29 ### | |
274
a5bc27d26174
Rename EXEEXT to BINEXT in the build system, as per changes in th-libs build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
157
diff
changeset
|
30 ENDIANCHK_BIN=$(BINPATH)endianchk$(BINEXT) |
68 | 31 NOINST_TARGETS += $(ENDIANCHK_BIN) config.h |
122
9fb96c170bbc
Make build process less noisy and also work with parallel make.
Matti Hamalainen <ccr@tnsp.org>
parents:
68
diff
changeset
|
32 THLIBS_DEP += config.h |
4 | 33 |
0 | 34 include Makefile.gen |
4 | 35 |
36 | |
68 | 37 install: all |
38 @for fn in $(TARGETS); do echo " INSTALL $$fn $(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(PREFIX)/bin/; done |