save
This commit is contained in:
4
TODO
Normal file
4
TODO
Normal 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
BIN
c-out/bin/yait
Executable file
Binary file not shown.
BIN
c-out/obj/main.o
Normal file
BIN
c-out/obj/main.o
Normal file
Binary file not shown.
4
config.mak
Normal file
4
config.mak
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
PREFIX=/usr/bin/
|
||||||
|
CFLAGS=-Wall -Wextra -g
|
||||||
|
LDFLAGS=
|
||||||
|
CC=gcc
|
||||||
3
configure
vendored
3
configure
vendored
@@ -37,9 +37,6 @@ trycc cc
|
|||||||
trycc clang
|
trycc clang
|
||||||
printf "%s\n" "$CC"
|
printf "%s\n" "$CC"
|
||||||
|
|
||||||
printf "checking for xxd... "
|
|
||||||
trycc xxd
|
|
||||||
|
|
||||||
printf "checking weather C compiler works... "
|
printf "checking weather C compiler works... "
|
||||||
status="fail"
|
status="fail"
|
||||||
tmpc="$(mktemp -d)/test.c"
|
tmpc="$(mktemp -d)/test.c"
|
||||||
|
|||||||
@@ -122,6 +122,12 @@ create_project (format_t fmt)
|
|||||||
create_file_with_content (
|
create_file_with_content (
|
||||||
"configure",
|
"configure",
|
||||||
configure_template);
|
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
|
// Create a safe uppercase version of the project name for Makefile variables
|
||||||
char *mkfile_name = strdup (fmt.project);
|
char *mkfile_name = strdup (fmt.project);
|
||||||
if (!mkfile_name)
|
if (!mkfile_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user