Mercurial > hg > dmlib
comparison Makefile.gen @ 334:c0aba47f8020
Move -O3 to EXTRA_CFLAGS.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 15 Oct 2012 13:28:32 +0300 |
parents | 230cc7c6564d |
children | 6ecc7eb6d158 |
comparison
equal
deleted
inserted
replaced
333:230cc7c6564d | 334:c0aba47f8020 |
---|---|
2 ### Get settings from config.mak | 2 ### Get settings from config.mak |
3 ### | 3 ### |
4 include config.mak | 4 include config.mak |
5 | 5 |
6 ifeq ($(EXTRA_CFLAGS),) | 6 ifeq ($(EXTRA_CFLAGS),) |
7 EXTRA_CFLAGS=-march=core2 -DDM_DEVEL | 7 EXTRA_CFLAGS=-O3 -march=core2 -DDM_DEVEL |
8 endif | 8 endif |
9 | 9 |
10 ifneq ($(DMLIB),) | 10 ifneq ($(DMLIB),) |
11 DM_CFLAGS += -I$(DMLIB) | 11 DM_CFLAGS += -I$(DMLIB) |
12 endif | 12 endif |
200 | 200 |
201 | 201 |
202 ### | 202 ### |
203 ### Rest of the rules | 203 ### Rest of the rules |
204 ### | 204 ### |
205 CFLAGS += -g -W -Wall -DHAVE_STRING_H -O3 $(EXTRA_CFLAGS) | 205 CFLAGS += -g -W -Wall -DHAVE_STRING_H $(EXTRA_CFLAGS) |
206 CXXFLAGS=$(CFLAGS) | 206 CXXFLAGS=$(CFLAGS) |
207 | 207 |
208 DM_CFLAGS += $(SDL_CFLAGS) | 208 DM_CFLAGS += $(SDL_CFLAGS) |
209 DM_LDFLAGS += $(LDFLAGS) | 209 DM_LDFLAGS += $(LDFLAGS) |
210 | 210 |