From b659c412263f6dd7df962f7d42f4f51b7c3d5609 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 2 May 2018 21:22:03 +0100 Subject: Implement diffuse texture loading and basic material support --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5ceed54..9d66590 100644 --- a/Makefile +++ b/Makefile @@ -9,13 +9,13 @@ LINMATH_PATH ?= ../linmath PKG_CONFIG ?= pkg-config LN ?= ln -sf -LIBS := sdl2 +LIBS := sdl2 libpng CPPFLAGS += -D__gl_h_ CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBS)) -std=c11 -MMD -MP LDFLAGS += -Wl,--as-needed LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBS)) -lm -OBJ := faqe.o eprintf.o fmd.o gl.o glprog.o ieee754.o model.o +OBJ := faqe.o ensize.o eprintf.o fmd.o gl.o glprog.o ieee754.o model.o mtl.o tex.o all: $(PROG) -- cgit v1.2.3-54-g00ecf