Mercurial > hg > dmlib
comparison Makefile.gen @ 2422:ba8b44cd313b
Cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 17 Jan 2020 22:07:00 +0200 |
parents | 621d071530ce |
children | fddee4b6a427 |
comparison
equal
deleted
inserted
replaced
2421:1361e3883dd8 | 2422:ba8b44cd313b |
---|---|
12 | 12 |
13 ### | 13 ### |
14 ### Compiler flags | 14 ### Compiler flags |
15 ### | 15 ### |
16 ifeq ($(EXTRA_CFLAGS),) | 16 ifeq ($(EXTRA_CFLAGS),) |
17 EXTRA_CFLAGS=-O3 | 17 EXTRA_CFLAGS =-O3 |
18 # -march=corei7 | 18 # -march=corei7 |
19 endif | 19 endif |
20 | 20 |
21 CFLAGS += -g -W -Wall -DHAVE_STRING_H $(EXTRA_CFLAGS) | 21 CFLAGS += -g -W -Wall $(EXTRA_CFLAGS) |
22 #CFLAGS += -std=c11 -D_FILE_OFFSET_BITS=64 | 22 #CFLAGS += -std=c11 -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200808L |
23 CXXFLAGS = $(CFLAGS) | 23 CXXFLAGS = $(CFLAGS) |
24 | 24 |
25 DM_CFLAGS += -I$(DMLIB_SRC) $(SDL_CFLAGS) | 25 DM_CFLAGS += -I$(DMLIB_SRC) $(SDL_CFLAGS) |
26 DM_LDFLAGS += $(LDFLAGS) | 26 DM_LDFLAGS += $(LDFLAGS) |
27 | 27 |