aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-03-30 15:50:27 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-03-30 15:50:27 +0100
commit6d17b081cc16b0ba13ab918e885674b2defa8280 (patch)
tree8eda0d35f8506659b100f4772d6d89bfd5a28f8a
parent83b3fe86b1c13f40a6be4580b4079980030a54a7 (diff)
downloadfaqe-6d17b081cc16b0ba13ab918e885674b2defa8280.tar.gz
faqe-6d17b081cc16b0ba13ab918e885674b2defa8280.tar.xz
faqe-6d17b081cc16b0ba13ab918e885674b2defa8280.zip
Rename project gltest -> faqe
The project has been renamed to faqe. The logic for this name: quake -> fake quake -> faqe
-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);