Makefile: Added defaults for TILESIZE_X and _Y
This commit is contained in:
parent
75eea96d01
commit
a33cbbe03b
1 changed files with 8 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -39,6 +39,14 @@ LDFLAGS =
|
|||
CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-unused-function
|
||||
CXXFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function
|
||||
|
||||
ifeq ($(TILESIZE_X),)
|
||||
TILESIZE_X = 1
|
||||
endif
|
||||
|
||||
ifeq ($(TILESIZE_Y),)
|
||||
TILESIZE_Y = 1
|
||||
endif
|
||||
|
||||
CFLAGS += -D EXPERIMENT_TILESIZE_X=$(TILESIZE_X) -D EXPERIMENT_TILESIZE_Y=$(TILESIZE_Y)
|
||||
CXXFLAGS += -D EXPERIMENT_TILESIZE_X=$(TILESIZE_X) -D EXPERIMENT_TILESIZE_Y=$(TILESIZE_Y)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue