view Makefile @ 706:d289fae3c1a8

Oops, forgot to free elemlens in th_join_string_elems() in no-error case. Ugh.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 27 Apr 2020 00:16:40 +0300
parents ee165ef28b6f
children 31bc1ed07cf5
line wrap: on
line source

###
### Configuration settings for Linux and generic UNIX
###

# 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