diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | justfile | 9 | ||||
| -rw-r--r-- | main.c | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7fc71cc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/a.out diff --git a/justfile b/justfile new file mode 100644 index 0000000..52cf61c --- /dev/null +++ b/justfile @@ -0,0 +1,9 @@ +CFLAGS := "-Wno-builtin-declaration-mismatch" + +all: build + +build: + gcc main.c {{CFLAGS}} + +clean: + rm a.out @@ -0,0 +1,6 @@ +int printf(); + +int main() { + printf("Hello, World!\n"); + return 0; +} |
