Fix compilation with the Makefile

This commit is contained in:
Clownacy 2020-01-26 23:55:17 +00:00
parent cccef2b089
commit 8dd1b05790

View file

@ -75,10 +75,10 @@ ifeq ($(WARNINGS_FATAL), 1)
endif endif
ALL_CFLAGS += -std=c99 -MMD -MP -MF $@.d ALL_CFLAGS += -std=c99 -MMD -MP -MF $@.d
CSE2_CFLAGS += $(shell $(PKGCONFIG) sdl2 --cflags) $(shell $(PKGCONFIG) freetype2 --cflags) CSE2_CFLAGS += $(shell $(PKGCONFIG) sdl2 --cflags) $(shell $(PKGCONFIG) freetype2 --cflags) -Iexternal
ALL_CXXFLAGS += -std=c++98 -MMD -MP -MF $@.d ALL_CXXFLAGS += -std=c++98 -MMD -MP -MF $@.d
CSE2_CXXFLAGS += $(shell $(PKGCONFIG) sdl2 --cflags) $(shell $(PKGCONFIG) freetype2 --cflags) CSE2_CXXFLAGS += $(shell $(PKGCONFIG) sdl2 --cflags) $(shell $(PKGCONFIG) freetype2 --cflags) -Iexternal
ifeq ($(STATIC), 1) ifeq ($(STATIC), 1)
ALL_LDFLAGS += -static ALL_LDFLAGS += -static