aa
This commit is contained in:
parent
e11f54f3a1
commit
7f5c6446f7
5 changed files with 67 additions and 6 deletions
|
|
@ -1,7 +1,17 @@
|
|||
CC = gcc
|
||||
LDFLAGS = -lm -lgrapheme -lSDL2 -lGLEW -lGL
|
||||
CFLAGS = -g -Wall -Wextra -pedantic
|
||||
SOURCE = main.c font.c cache.c hash.c util.c ren.c
|
||||
HEADER = font.h hash.h cache.h util.h ren.h
|
||||
CFLAGS = -g -Wall -Wextra -pedantic
|
||||
|
||||
test: ${HEADER} ${SOURCE}
|
||||
gcc ${CFLAGS} ${LDFLAGS} ${SOURCE} -o test
|
||||
.PHONY: clean all
|
||||
all: test
|
||||
|
||||
cache.o: cache.c cache.h hash.h font.h util.h
|
||||
font.o: font.c font.h stb_truetype.h stb_image_write.h util.h cache.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
|
||||
util.o: util.c util.h
|
||||
test: cache.o font.o hash.o main.o ren.o util.o
|
||||
${CC} ${LDFLAGS} -o test cache.o font.o hash.o main.o ren.o util.o
|
||||
clean:
|
||||
rm -f cache.o font.o hash.o main.o ren.o util.o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue