add tff lib

This commit is contained in:
Mylloon 2022-11-15 13:47:20 +01:00
parent 252d228cb6
commit aa5935fb13
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,7 +1,7 @@
CC = gcc
CFLAGS = -I. -I/usr/include/SDL2 -std=c11 -O3
RM = rm
LDFLAGS = -lm -lGL -lGL4Dummies -lSDL2
LDFLAGS = -lm -lGL -lGL4Dummies -lSDL2 -lSDL2_ttf
SOURCES = $(wildcard src/*.c)
OBJECTS = $(patsubst %.c,%.c.o,$(notdir $(SOURCES)))
@ -9,7 +9,7 @@ OBJECTS = $(patsubst %.c,%.c.o,$(notdir $(SOURCES)))
EXE = othello
%.c.o: src/%.c
$(CC) $(CFLAGS) $(DEVFLAGS) -c $< -o $@
$(CC) $(CFLAGS) $(DEVFLAGS)-c $< -o $@
main: compilation