diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2018-03-27 18:51:07 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2018-03-27 19:21:34 +0100 |
commit | 4329c4e47c43dd34a106b5c8158f06728780629a (patch) | |
tree | 8ede3a5a46773730f9ad88ae201badb3636e4214 /Makefile | |
parent | 126c248cf55d10c1584f9bb340144b42ae57e847 (diff) | |
download | faqe-4329c4e47c43dd34a106b5c8158f06728780629a.tar.gz faqe-4329c4e47c43dd34a106b5c8158f06728780629a.tar.xz faqe-4329c4e47c43dd34a106b5c8158f06728780629a.zip |
glprog: Wrap OpenGL program object loading
glprog provides a simple interface to loadign OpenGL program objects
and getting their uniform locations.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBS)) -std=c11 -MMD -MP LDFLAGS += -Wl,--as-needed LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBS)) -OBJ := gltest.o loadgl.o eprintf.o vert.o frag.o +OBJ := gltest.o loadgl.o eprintf.o vert.o frag.o glprog.o DEP := $(OBJ:.o=.d) %.o: %.glsl @@ -25,7 +25,7 @@ $(PROG): $(OBJ) clean: $(RM) $(OBJ) $(DEP) $(PROG) $(CLEAN) -loadgl.o gltest.o: loadgl.h +loadgl.o gltest.o glprog.o: loadgl.h loadgl.c loadgl.h: loadgl.%: loadgl.m4 loadgl.%.in m4 $^ >$@ CLEAN += loadgl.c loadgl.h |