view Makefile @ 597:00ad3f0e208b

Improve build system, clean up the functions and improve V=1 verbosity.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 14 Jan 2020 02:05:03 +0200
parents e4ae9ef86332
children ee165ef28b6f
line wrap: on
line source

#
# Configuration settings for Linux and generic UNIX
# See other Makefile.* files for more options.
#

# Miscellaneous
BINTOOL_PREFIX =
PREFIX = /usr/local
BINPATH = ./
OBJPATH = obj/unix/
BINEXT =

# Compiler flags and linker flags
CFLAGS += -DHAVE_CONFIG_H
LDFLAGS +=

CFLAGS += -DHAVE_STRING_H
CFLAGS += -DHAVE_INTTYPES_H
#CFLAGS += -DHAVE_SYS_TYPES_H


###
### Unix targets
###
ENDIANCHK_BIN = $(BINPATH)endianchk$(BINEXT)
NOINST_TARGETS += $(ENDIANCHK_BIN) config.h
THLIBS_DEP += config.h

include Makefile.gen