add Makefile

This commit is contained in:
Alexander Popov 2022-06-11 02:29:15 +03:00
parent 816f1ab962
commit 8269f15af4
Signed by: iiiypuk
GPG Key ID: 3F76816AEE08F908
2 changed files with 54 additions and 5 deletions

View File

@ -1,23 +1,67 @@
# EditorConfig is awesome: https://EditorConfig.org
root = true root = true
# for all projects
[*] [*]
indent_style = space
indent_size = 4
end_of_line = lf end_of_line = lf
charset = utf-8 charset = utf-8
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
# Python
[*.py]
indent_style = space
indent_size = 4
# PHP
[*.php] [*.php]
indent_style = space indent_style = space
indent_size = 4 indent_size = 4
[{*.html,*.css}] # Crystal
indent_style = tab [*.cr]
indent_size = 4
[*.js]
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
# C
[{*.c,*.h}]
indent_style = space
indent_size = 4
# Web Sites
[{*.html,*.css,*.json}]
indent_style = tab
indent_size = 4
[humans.txt] [humans.txt]
indent_style = tab indent_style = tab
indent_size = 2 indent_size = 2
# Other
[Makefile]
indent_style = tab
indent_size = 4
[.gitconfig]
indent_style = tab
indent_size = 4
# JavaScript
[*.js]
indent_style = space
indent_size = 2
[package.json]
indent_style = space
indent_size = 2
## for this repo
[~/SSH/config]
indent_style = tab
indent_size = 4
[~/SublimeText/*.sublime-*]
indent_style = tab
indent_size = 4

5
~/C/Makefile Normal file
View File

@ -0,0 +1,5 @@
CC = clang
CFLAGS = -O2
LDFLAGS = -lsqlite3
all: sqlite3_create sqlite3_insert sqlite3_select sqlite3_update sqlite3_delete