Simplified Makefiles further (thanks Christer Solskogen!)
This commit is contained in:
parent
c011cb7494
commit
f62bae97e5
2 changed files with 34 additions and 27 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue