You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ugui/text_rendering/Makefile

18 lines
490 B

2 years ago
CC = gcc
2 years ago
LDFLAGS = -lm -lgrapheme -lSDL2 -lGLEW -lGL
2 years ago
CFLAGS = -g -Wall -Wextra -pedantic
2 years ago
2 years ago
.PHONY: clean all
all: test
font.o: font.c font.h stb_truetype.h stb_image_write.h util.h \
generic_cache.h hash.h
2 years ago
hash.o: hash.c hash.h util.h
main.o: main.c ren.h util.h
ren.o: ren.c util.h font.h ren.h stack.h
util.o: util.c util.h
test: font.o hash.o main.o ren.o util.o
${CC} ${LDFLAGS} -o test font.o hash.o main.o ren.o util.o
2 years ago
clean:
rm -f test font.o hash.o main.o ren.o util.o