summary refs log tree commit diff
path: root/bin/gfx
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-02-09 15:14:33 -0500
committerJune McEnroe <june@causal.agency>2018-02-09 15:14:33 -0500
commit68dab38c2c8b000a0918f6427d6d53261a6ce5bb (patch)
tree0abcfc5fa42d3e79a90acf5e1ead79f1e06ed3fa /bin/gfx
parentAdd janky X11 graphics frontend (diff)
downloadsrc-68dab38c2c8b000a0918f6427d6d53261a6ce5bb.tar.gz
src-68dab38c2c8b000a0918f6427d6d53261a6ce5bb.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 d3d2ef46..d3d2ef46 100644
--- a/bin/gfcocoa.m
+++ b/bin/gfx/cocoa.m
diff --git a/bin/gfb.c b/bin/gfx/fb.c
index bc4d9d46..bc4d9d46 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..7f78ce8a
--- /dev/null
+++ b/bin/gfx/none.c
@@ -0,0 +1,21 @@
+/* Copyright (c) 2018, June 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 53d84895..53d84895 100644
--- a/bin/gfx11.c
+++ b/bin/gfx/x11.c