summary refs log tree commit diff
path: root/bin/gfx
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-09 15:14:33 -0500
committerJune McEnroe <programble@gmail.com>2018-02-09 15:14:33 -0500
commit3d6cfca2326fe21c90668e02794a81d2ed7615de (patch)
treec1055d70ed6d310a46e945b8270cf909314d9ace /bin/gfx
parentAdd janky X11 graphics frontend (diff)
downloadsrc-3d6cfca2326fe21c90668e02794a81d2ed7615de.tar.gz
src-3d6cfca2326fe21c90668e02794a81d2ed7615de.zip
Move gfx frontends around to simplify build
I forgot that you can expand variables inside variables names in make.
Certainly makes some fun things possible.
Diffstat (limited to '')
-rw-r--r--bin/gfx/cocoa.m (renamed from bin/gfcocoa.m)0
-rw-r--r--bin/gfx/fb.c (renamed from bin/gfb.c)0
-rw-r--r--bin/gfx/none.c21
-rw-r--r--bin/gfx/x11.c (renamed from bin/gfx11.c)0
4 files changed, 21 insertions, 0 deletions
diff --git a/bin/gfcocoa.m b/bin/gfx/cocoa.m
index ece79fb5..ece79fb5 100644
--- a/bin/gfcocoa.m
+++ b/bin/gfx/cocoa.m
diff --git a/bin/gfb.c b/bin/gfx/fb.c
index 503a8781..503a8781 100644
--- a/bin/gfb.c
+++ b/bin/gfx/fb.c
diff --git a/bin/gfx/none.c b/bin/gfx/none.c
new file mode 100644
index 00000000..b1558da5
--- /dev/null
+++ b/bin/gfx/none.c
@@ -0,0 +1,21 @@
+/* Copyright (c) 2018, Curtis McEnroe <programble@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include <sysexits.h>
+
+int main() {
+    return EX_CONFIG;
+}
diff --git a/bin/gfx11.c b/bin/gfx/x11.c
index b1b8caca..b1b8caca 100644
--- a/bin/gfx11.c
+++ b/bin/gfx/x11.c