view Makefile @ 362:5a1c5af0ced1

Update NEWS.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 26 Aug 2020 10:11:14 +0300
parents 5fafd0735b18
children db64a58314a9
line wrap: on
line source

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

# Compiler, flags and linker flags
PREFIX ?= /usr/local

BINTOOL_PREFIX =

CFLAGS += -DHAVE_CONFIG_H
LDFLAGS +=

CFLAGS += -DHAVE_ICONV

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

# Miscellaneous
BINPATH = ./
OBJPATH = obj/unix/
BINEXT  =


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

include Makefile.gen


install: all
	@for fn in $(TARGETS); do echo " INSTALL $$fn $(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(PREFIX)/bin/; done