Mercurial > hg > th-libs
view Makefile @ 424:aacd4ad3c4ff
Fix endianchk build when Makefile.inc is being included from parent project
and called from other directory.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 09 Mar 2016 22:42:30 +0200 |
parents | c89f7aa4ced8 |
children | 0a2f32b8a26e |
line wrap: on
line source
# # Configuration settings for Linux and generic UNIX # See other Makefile.* files for more options. # # Miscellaneous PREFIX = /usr/local BINPATH = ./ OBJPATH = obj/unix/ EXEEXT = # C-compiler, flags and linker flags CC ?= gcc AR ?= ar RANLIB ?= ranlib INSTALL ?= install CFLAGS += -DHAVE_CONFIG_H LDFLAGS += CFLAGS += -DHAVE_STRING_H CFLAGS += -DHAVE_STDINT_H #CFLAGS += -DHAVE_SYS_TYPES_H CFLAGS += -DHAVE_INTTYPES_H ### ### Unix targets ### ENDIANCHK_BIN = $(BINPATH)endianchk$(EXEEXT) NOINST_TARGETS += $(ENDIANCHK_BIN) config.h THLIBS_DEP += config.h include Makefile.gen