Simplified Makefiles further (thanks Christer Solskogen!)

This commit is contained in:
Dimitris Panokostas 2018-11-04 20:53:02 +01:00
parent c011cb7494
commit f62bae97e5
2 changed files with 34 additions and 27 deletions

View file

@ -6,7 +6,7 @@ DIRS =$(shell find ./src -maxdepth 3 -type d)
SOURCE = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.cpp))
OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(SOURCE)))
CPPFLAGS +=-I./include -std=gnu++14 `sdl2-config --cflags --libs`
CPPFLAGS +=-I./include -std=gnu++14
.PHONY : all clean