housekeeping

This commit is contained in:
Alessandro Mauri 2023-03-06 19:01:15 +01:00
parent 988c36a50a
commit 0a18bfc951
No known key found for this signature in database
GPG key ID: 2B7BF9531FF03BE8
8 changed files with 82 additions and 31 deletions

View file

@ -1,6 +1,6 @@
CC = gcc
LDFLAGS = -lm -lgrapheme -lSDL2 -lGLEW -lGL
CFLAGS = -g -Wall -Wextra -pedantic
CFLAGS = -g -Wall -Wextra -pedantic -fno-omit-frame-pointer
.PHONY: clean all
all: test
@ -9,7 +9,7 @@ font.o: font.c font.h stb_truetype.h stb_image_write.h util.h \
generic_cache.h hash.h
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
ren.o: ren.c util.h font.h ren.h generic_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