comparison Makefile.gen @ 208:e6a2658ae096

Enable building via clang++ (tested with 5.0).
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 17 Nov 2017 04:12:38 +0200
parents dfe5e8d7c58a
children 131463be208b
comparison
equal deleted inserted replaced
207:2438ea2611f9 208:e6a2658ae096
1 ### 1 ###
2 ### Main build file 2 ### Main build file
3 ### 3 ###
4 4
5 CFLAGS += -O2 -W -Wall -Wextra 5 CFLAGS += -O2 -W -Wall -Wextra
6 CXXFLAGS += -O2 -W -Wall -Wextra 6 CXXFLAGS += -O2 -W -Wall -Wextra -std=c++11
7 7
8 # Tools 8 # Tools
9 ifneq ($(BINTOOL_PREFIX),)
9 CC = $(BINTOOL_PREFIX)gcc 10 CC = $(BINTOOL_PREFIX)gcc
10 CXX = $(BINTOOL_PREFIX)g++ 11 CXX = $(BINTOOL_PREFIX)g++
11 AR = $(BINTOOL_PREFIX)ar 12 AR = $(BINTOOL_PREFIX)ar
13 endif
12 RANLIB = $(BINTOOL_PREFIX)ranlib 14 RANLIB = $(BINTOOL_PREFIX)ranlib
13 WINDRES = $(BINTOOL_PREFIX)windres 15 WINDRES = $(BINTOOL_PREFIX)windres
14 16
15 INSTALL ?= install 17 INSTALL ?= install
16 MKDIR ?= mkdir 18 MKDIR ?= mkdir