clean (C) project setup

This commit is contained in:
Václav Šmejkal 2022-03-05 18:24:36 +01:00
commit 89c83f5408
4 changed files with 16 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
out/

6
Makefile Normal file
View File

@ -0,0 +1,6 @@
all: main
files = src/main.c
main:
cc $(files) -o out/why2

0
out/.gitkeep Normal file
View File

9
src/main.c Normal file
View File

@ -0,0 +1,9 @@
#include <stdio.h>
int
main()
{
printf("Fuk of\n");
return 0;
}