view Makefile @ 699:3707a823aa02

Fix to the previous commit. strdup the mode string since the argument is const.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 10 Mar 2020 16:51:55 +0200
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