commit 8d0b09272b2ce760cd843f8e6bf43b11a02fa829 parent 1e3843eb194c2b2fc164595dee363f6fff53d2d6 Author: William Casarin <jb55@jb55.com> Date: Sun, 21 Jul 2019 15:43:02 -0700 fix model loading Diffstat:
M | Makefile | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile @@ -16,9 +16,9 @@ LDFLAGS = -lSDL2 -lGL -lm SRC=src SRCS=$(wildcard $(SRC)/*.c) -DAES=$(wildcard data/models/*.dae) +PLYS=$(wildcard data/models/*.ply) -MODELS=$(DAES:.dae=.mdl) +MODELS=$(PLYS:.ply=.mdl) OBJS=$(SRCS:.c=.o) TESTS = test/test_dae @@ -50,7 +50,7 @@ tools/%: tools/%.o $(OBJS) tools: $(TOOLS) -data/models/%.mdl: data/models/%.dae tools/compile-model +data/models/%.mdl: data/models/%.ply tools/compile-model ./tools/compile-model $< $@ check: $(TESTS) $(MODELS)