commit 6bf8859bc4c056e3a81be5d76b7e6ef9b0cec270
parent 466dd3b440a99429c2bcf6854e7db2978f2e2c51
Author: vx-clutch <[email protected]>
Date: Sun, 20 Jul 2025 22:11:20 -0400
save
Diffstat:
6 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/TODO b/TODO
@@ -0,0 +1,4 @@
+The following is a list of this that need to be done.
+
+Urgent:
+ - Fix the segfault at Makefile
diff --git a/c-out/bin/yait b/c-out/bin/yait
Binary files differ.
diff --git a/c-out/obj/main.o b/c-out/obj/main.o
Binary files differ.
diff --git a/config.mak b/config.mak
@@ -0,0 +1,4 @@
+PREFIX=/usr/bin/
+CFLAGS=-Wall -Wextra -g
+LDFLAGS=
+CC=gcc
diff --git a/configure b/configure
@@ -37,9 +37,6 @@ trycc cc
trycc clang
printf "%s\n" "$CC"
-printf "checking for xxd... "
-trycc xxd
-
printf "checking weather C compiler works... "
status="fail"
tmpc="$(mktemp -d)/test.c"
diff --git a/yait/main.c b/yait/main.c
@@ -122,6 +122,12 @@ create_project (format_t fmt)
create_file_with_content (
"configure",
configure_template);
+ int status = system("chmod +x configure");
+ if (status)
+ {
+ printfn ("error: %s", strerror (status));
+ return status;
+ }
// Create a safe uppercase version of the project name for Makefile variables
char *mkfile_name = strdup (fmt.project);
if (!mkfile_name)