This commit is contained in:
2025-07-20 22:11:20 -04:00
parent 466dd3b440
commit 6bf8859bc4
6 changed files with 14 additions and 3 deletions

4
TODO Normal file
View File

@@ -0,0 +1,4 @@
The following is a list of this that need to be done.
Urgent:
- Fix the segfault at Makefile

BIN
c-out/bin/yait Executable file

Binary file not shown.

BIN
c-out/obj/main.o Normal file

Binary file not shown.

4
config.mak Normal file
View File

@@ -0,0 +1,4 @@
PREFIX=/usr/bin/
CFLAGS=-Wall -Wextra -g
LDFLAGS=
CC=gcc

3
configure vendored
View File

@@ -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"

View File

@@ -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)