Mercurial > hg > sidinfo
view Makefile @ 291:8aa854546556
Bump version.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 09 Jan 2020 10:54:57 +0200 |
parents | a5bc27d26174 |
children | 4c00b579d7ac |
line wrap: on
line source
# # Configuration settings for Linux and generic UNIX # See other Makefile.* files for more options. # # Compiler, flags and linker flags PREFIX ?= /usr/local BINTOOL_PREFIX = CFLAGS += -DHAVE_CONFIG_H LDFLAGS += CFLAGS += -DHAVE_ICONV CFLAGS += -DHAVE_STRING_H CFLAGS += -DHAVE_STDINT_H #CFLAGS += -DHAVE_SYS_TYPES_H CFLAGS += -DHAVE_INTTYPES_H # Miscellaneous BINPATH=./ OBJPATH=obj/unix/ BINEXT= ### ### Stuff ### ENDIANCHK_BIN=$(BINPATH)endianchk$(BINEXT) NOINST_TARGETS += $(ENDIANCHK_BIN) config.h THLIBS_DEP += config.h include Makefile.gen install: all @for fn in $(TARGETS); do echo " INSTALL $$fn $(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(PREFIX)/bin/; done