From aa5935fb139cd5909ede2aca1f64c28dd1c80760 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 15 Nov 2022 13:47:20 +0100 Subject: [PATCH] add tff lib --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fe04a58..0deff6e 100644 --- a/Makefile +++ b/Makefile @@ -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