aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile6
-rw-r--r--faqe.c (renamed from gltest.c)4
3 files changed, 6 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 8365d9f..76747f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
*.o
-gltest
+faqe
*.exe
*.dll
diff --git a/Makefile b/Makefile
index 6810635..839b032 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT
-include config.mk
-PROG := gltest
+PROG := faqe
EPRINTF_PATH ?= ../eprintf
PKG_CONFIG ?= pkg-config
@@ -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 gl.o eprintf.o glprog.o
+OBJ := faqe.o gl.o eprintf.o glprog.o
all: $(PROG)
@@ -22,7 +22,7 @@ include assets.mk
include $(EPRINTF_PATH)/module.mk
$(PROG): $(OBJ)
-gltest.o: assets.h
+faqe.o: assets.h
deplinks: $(EPRINTF_FILES)
diff --git a/gltest.c b/faqe.c
index 394162c..0a9ab7d 100644
--- a/gltest.c
+++ b/faqe.c
@@ -49,7 +49,7 @@ int main(int argc, char **argv)
1, 2, 3,
};
- setprogname(argc >= 1 && argv[0] != NULL ? argv[0] : "gltest");
+ setprogname(argc >= 1 && argv[0] != NULL ? argv[0] : "faqe");
glfwInit();
@@ -57,7 +57,7 @@ int main(int argc, char **argv)
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
- win = glfwCreateWindow(WIDTH, HEIGHT, "gltest", NULL, NULL);
+ win = glfwCreateWindow(WIDTH, HEIGHT, "faqe", NULL, NULL);
if (win == NULL)
eprintf("Failed to create GLFW window");
glfwMakeContextCurrent(win);