mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 05:55:46 +01:00
code cleanup + add font support
This commit is contained in:
4
makefile
4
makefile
@@ -4,8 +4,8 @@ NAME := tetris_clone
|
||||
CC := clang
|
||||
STD := c17
|
||||
LANG = c
|
||||
CFLAGS := $(shell pkg-config --cflags sdl2) -Wall -Wextra -Wpedantic -Wno-pointer-arith
|
||||
LDFLAGS := $(shell pkg-config --libs sdl2) -lm
|
||||
CFLAGS := $(shell pkg-config --cflags sdl2 SDL2_ttf) -Wall -Wextra -Wpedantic -Wno-pointer-arith
|
||||
LDFLAGS := $(shell pkg-config --libs sdl2 SDL2_ttf) -lm
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
CFLAGS += -DDEBUG -Og -g
|
||||
|
||||
Reference in New Issue
Block a user