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