comparison Makefile @ 433:0a2f32b8a26e

Improve the build system.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 07 Apr 2017 02:48:31 +0300
parents c89f7aa4ced8
children efd33accdc81
comparison
equal deleted inserted replaced
431:d41cb5983772 433:0a2f32b8a26e
2 # Configuration settings for Linux and generic UNIX 2 # Configuration settings for Linux and generic UNIX
3 # See other Makefile.* files for more options. 3 # See other Makefile.* files for more options.
4 # 4 #
5 5
6 # Miscellaneous 6 # Miscellaneous
7 BINTOOL_PREFIX =
7 PREFIX = /usr/local 8 PREFIX = /usr/local
8 BINPATH = ./ 9 BINPATH = ./
9 OBJPATH = obj/unix/ 10 OBJPATH = obj/unix/
10 EXEEXT = 11 EXEEXT =
11 12
12 # C-compiler, flags and linker flags 13 # Compiler flags and linker flags
13 CC ?= gcc
14 AR ?= ar
15 RANLIB ?= ranlib
16 INSTALL ?= install
17
18 CFLAGS += -DHAVE_CONFIG_H 14 CFLAGS += -DHAVE_CONFIG_H
19 LDFLAGS += 15 LDFLAGS +=
20 16
21 CFLAGS += -DHAVE_STRING_H 17 CFLAGS += -DHAVE_STRING_H
22 CFLAGS += -DHAVE_STDINT_H 18 CFLAGS += -DHAVE_STDINT_H