comparison Makefile.gen @ 184:87dfca9f704d

Move optimization and warning CFLAGS and CXXFLAGS to Makefile.gen
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 07 Nov 2017 15:24:55 +0200
parents 325e7590f93e
children dfe5e8d7c58a
comparison
equal deleted inserted replaced
183:9a9e2b8b979f 184:87dfca9f704d
1 ### 1 ###
2 ### Main build file 2 ### Main build file
3 ### 3 ###
4
5 CFLAGS += -O2 -W -Wall -Wextra
6 CXXFLAGS += -O2 -W -Wall -Wextra
4 7
5 # Tools 8 # Tools
6 CC = $(BINTOOL_PREFIX)gcc 9 CC = $(BINTOOL_PREFIX)gcc
7 CXX = $(BINTOOL_PREFIX)g++ 10 CXX = $(BINTOOL_PREFIX)g++
8 AR = $(BINTOOL_PREFIX)ar 11 AR = $(BINTOOL_PREFIX)ar