made cache a generic structure
This commit is contained in:
parent
93f93a594e
commit
56a4357b20
6 changed files with 120 additions and 152 deletions
|
|
@ -5,13 +5,13 @@ CFLAGS = -g -Wall -Wextra -pedantic
|
|||
.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
|
||||
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
|
||||
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
|
||||
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
|
||||
clean:
|
||||
rm -f test cache.o font.o hash.o main.o ren.o util.o
|
||||
rm -f test font.o hash.o main.o ren.o util.o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue