From 89c83f54085e4e08de2dc87fde539d739add6ca5 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 5 Mar 2022 18:24:36 +0100 Subject: [PATCH] clean (C) project setup --- .gitignore | 1 + Makefile | 6 ++++++ out/.gitkeep | 0 src/main.c | 9 +++++++++ 4 files changed, 16 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 out/.gitkeep create mode 100644 src/main.c diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..466e248 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +out/ \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0b8329b --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +all: main + +files = src/main.c + +main: + cc $(files) -o out/why2 \ No newline at end of file diff --git a/out/.gitkeep b/out/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..098123e --- /dev/null +++ b/src/main.c @@ -0,0 +1,9 @@ +#include + +int +main() +{ + printf("Fuk of\n"); + + return 0; +} \ No newline at end of file