Mercurial > hg > syntilista
diff 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 |
line wrap: on
line diff
--- a/Makefile.gen Thu Nov 16 13:05:19 2017 +0200 +++ b/Makefile.gen Fri Nov 17 04:12:38 2017 +0200 @@ -3,12 +3,14 @@ ### CFLAGS += -O2 -W -Wall -Wextra -CXXFLAGS += -O2 -W -Wall -Wextra +CXXFLAGS += -O2 -W -Wall -Wextra -std=c++11 # Tools +ifneq ($(BINTOOL_PREFIX),) CC = $(BINTOOL_PREFIX)gcc CXX = $(BINTOOL_PREFIX)g++ AR = $(BINTOOL_PREFIX)ar +endif RANLIB = $(BINTOOL_PREFIX)ranlib WINDRES = $(BINTOOL_PREFIX)windres