aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
-rw-r--r--src/termgl.h16
2 files changed, 26 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9f489a4..b822a38 100644
--- a/Makefile
+++ b/Makefile
@@ -24,14 +24,16 @@ build: dir genversion $(OBJ)
@$(CC) $(CPPFLAGS) -o $(BUILDDIR)/lib/$(OUTPUT) $(OBJ) $(LDFLAGS) -Wl,-soname=lib$(SONAME).so.$(VERSION)
@ln -sf $(OUTPUT) $(BUILDDIR)/lib/lib$(SONAME).so.$(VERSION)
@ln -sf $(OUTPUT) $(BUILDDIR)/lib/lib$(SONAME).so
- @cp $(SOURCEDIR)/c*.h $(BUILDDIR)/inc
- @cp $(SOURCEDIR)/version.h $(BUILDDIR)/inc
+ @cp $(SOURCEDIR)/c*.h $(BUILDDIR)/inc/termgl
+ @cp $(SOURCEDIR)/version.h $(BUILDDIR)/inc/termgl
+ @cp $(SOURCEDIR)/termgl.h $(BUILDDIR)/inc
dir:
@mkdir -p $(OBJECTDIR)
@mkdir -p $(BUILDDIR)
@mkdir -p $(BUILDDIR)/lib
@mkdir -p $(BUILDDIR)/inc
+ @mkdir -p $(BUILDDIR)/inc/termgl
debug: CFLAGS += -g -D _DEBUG
debug: build;
@@ -102,4 +104,10 @@ uninstall:
.PHONY: install-headers
install-headers:
@echo Installing headers...
+ @install -d $(BUILDDIR)/inc/termgl $(PREFIX)/usr/include/termgl
+ @install -m 644 -D $(BUILDDIR)/inc/termgl/* $(PREFIX)/usr/include/termgl
+ @install -m 644 -D $(BUILDDIR)/inc/termgl.h $(PREFIX)/usr/include/termgl.h
+ @echo Finished
+todo:
+ @grep -n TODO src/**
diff --git a/src/termgl.h b/src/termgl.h
new file mode 100644
index 0000000..8410800
--- /dev/null
+++ b/src/termgl.h
@@ -0,0 +1,16 @@
+/*
+ * termgl.h
+ * (c) 2019 Jonas Gunz
+ * License: MIT
+ */
+
+#ifndef _TERMGL_H_
+#define _TERMGL_H_
+
+#include <termgl/cInput.h>
+#include <termgl/cObject.h>
+#include <termgl/cObjectHandler.h>
+#include <termgl/cRender.h>
+#include <termgl/cWiremesh.h>
+
+#endif