Mercurial > hg > dmlib
comparison Makefile.gen @ 2586:9807ae37ad69
Require stdbool.h, we require C11 now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Dec 2022 15:59:22 +0200 |
parents | 812b16ee49db |
children | e63f0ca2e7dc |
comparison
equal
deleted
inserted
replaced
2585:ef6c826c5b7a | 2586:9807ae37ad69 |
---|---|
19 ifeq ($(EXTRA_CFLAGS),) | 19 ifeq ($(EXTRA_CFLAGS),) |
20 EXTRA_CFLAGS =-O3 | 20 EXTRA_CFLAGS =-O3 |
21 # -march=corei7 | 21 # -march=corei7 |
22 endif | 22 endif |
23 | 23 |
24 CFLAGS += -g -W -Wall $(EXTRA_CFLAGS) | 24 CFLAGS += -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200808L $(EXTRA_CFLAGS) |
25 #CFLAGS += -std=c11 -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200808L | |
26 CXXFLAGS = $(CFLAGS) | 25 CXXFLAGS = $(CFLAGS) |
26 CFLAGS += -std=c11 | |
27 | 27 |
28 DM_CFLAGS += -I$(DMLIB_SRC) $(SDL_CFLAGS) | 28 DM_CFLAGS += -I$(DMLIB_SRC) $(SDL_CFLAGS) |
29 DM_LDFLAGS += $(LDFLAGS) | 29 DM_LDFLAGS += $(LDFLAGS) |
30 | 30 |
31 | 31 |