add tff lib
This commit is contained in:
parent
252d228cb6
commit
aa5935fb13
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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
|
||||
|
||||
|
|
Reference in a new issue