view Makefile @ 421:d8702bbab84f

Fix build.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 09 Mar 2016 15:11:06 +0200
parents 3c1bd6c55e00
children c89f7aa4ced8
line wrap: on
line source

#
# Configuration settings for Linux and generic UNIX
# See other Makefile.* files for more options.
#

# 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

# Miscellaneous
BINPATH=./
OBJPATH=obj/unix/
EXEEXT=


###
### Stuff
###
ENDIANCHK_BIN = $(BINPATH)endianchk$(EXEEXT)
NOINST_TARGETS += $(ENDIANCHK_BIN) config.h
THLIBS_DEP += config.h

include Makefile.gen