From 986c04053e1cf685bb738870dfe8bdbf9a5ab684 Mon Sep 17 00:00:00 2001 From: Laborratte5 Date: Sat, 20 Jul 2024 18:46:52 +0200 Subject: [PATCH] Create minimal C Project --- runtime/Makefile | 5 +++++ runtime/salruntime.c | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 runtime/Makefile create mode 100644 runtime/salruntime.c diff --git a/runtime/Makefile b/runtime/Makefile new file mode 100644 index 0000000..ee84e75 --- /dev/null +++ b/runtime/Makefile @@ -0,0 +1,5 @@ +CC=gcc +CFLAGS=-I. + +salruntime: salruntime.c + $(CC) -o $@ $^ $(CFLAGS) diff --git a/runtime/salruntime.c b/runtime/salruntime.c new file mode 100644 index 0000000..608663e --- /dev/null +++ b/runtime/salruntime.c @@ -0,0 +1,7 @@ + +#include + +int main() { + printf("Hello, world!"); + return 0; +}