Update Makefile
This commit is contained in:
parent
3be3867d18
commit
a4d553c3f8
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ DIRS =$(shell find ./src -maxdepth 3 -type d)
|
||||||
SOURCE = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.cpp))
|
SOURCE = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.cpp))
|
||||||
OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(SOURCE)))
|
OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(SOURCE)))
|
||||||
|
|
||||||
INCLUDE =-I./include
|
INCLUDE =-I./include `sdl2-config --cflags`
|
||||||
CFLAGS = -g -w -O3 $(INCLUDE)
|
CFLAGS = -g -w -O3 $(INCLUDE)
|
||||||
CXXFLAGS= $(CFLAGS)
|
CXXFLAGS= $(CFLAGS)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue