view Makefile @ 735:31bc1ed07cf5

Renaming BOOL->bool and TRUE/FALSE to true/false, and using stdbool.h if available.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 07 Dec 2022 12:14:39 +0200
parents ee165ef28b6f
children 94e8e6ad8c9e
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_STDBOOL_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