aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-03-30 15:35:05 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-03-30 15:35:05 +0100
commit83b3fe86b1c13f40a6be4580b4079980030a54a7 (patch)
treed3ea228b9ac42d7ed34ba8699167bf8ff29931e1 /Makefile
parent93c76bf190d843ef77c71682570f28e9fb871a08 (diff)
downloadfaqe-83b3fe86b1c13f40a6be4580b4079980030a54a7.tar.gz
faqe-83b3fe86b1c13f40a6be4580b4079980030a54a7.tar.xz
faqe-83b3fe86b1c13f40a6be4580b4079980030a54a7.zip
Simplify gl loading by removing m4 and merging gldefs.h
m4 has been removed, loadgl.c.in is now gl.c, gldefs.h and loadgl.h.in have now been merged into gl.h. loadgl.m4 has been transformed into glfunc.h which is being used in the way of a bie index file to generate information at 3 places. lgl_load is now gl_load and doesn't return anything, the jongjmp.h method of error handling was pre-emptive and for now this much simpler system will suffice. This means that lgl_strerror is no longer neede.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 8681e8b..6810635 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBS)) -std=c11 -MMD -MP
LDFLAGS += -Wl,--as-needed
LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBS)) -lm
-OBJ := gltest.o loadgl.o eprintf.o glprog.o
+OBJ := gltest.o gl.o eprintf.o glprog.o
all: $(PROG)
@@ -23,10 +23,6 @@ include $(EPRINTF_PATH)/module.mk
$(PROG): $(OBJ)
gltest.o: assets.h
-loadgl.o gltest.o glprog.o: loadgl.h
-loadgl.c loadgl.h: loadgl.%: loadgl.m4 loadgl.%.in
- m4 $^ >$@
-CLEAN += loadgl.c loadgl.h
deplinks: $(EPRINTF_FILES)