view Makefile @ 352:4978ff445572

Add lowercase versions of the STIL field names array as sidlib_stil_fields_lc[]. Rename the uppercase array as sidlib_stil_fields_uc[].
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 21 Jan 2020 04:41:49 +0200
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