Mercurial > hg > th-libs
view Makefile @ 746:a557d1b2a356
Move TH_ATTR_PRINTF_FMT macro definition to th_types.h and improve the
preprocessor checks. Apparently newer versions (not sure since which
version exactly) seem to work fine with the attribute defined.
Enabling for MinGW GCC >= 12 for now, though it may have worked earlier.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 21 Dec 2022 13:19:02 +0200 |
parents | 31bc1ed07cf5 |
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