Compare commits
11 Commits
010d27fba3
...
main
Author | SHA1 | Date | |
---|---|---|---|
95bfd5f043 | |||
![]() |
f049500fb4 | ||
![]() |
0e470dd9e5 | ||
![]() |
19965986d9 | ||
![]() |
e047f23a82 | ||
![]() |
3bba05b49d | ||
![]() |
43449072fe | ||
![]() |
f0a4048115 | ||
![]() |
e2e0b3cd7f | ||
![]() |
7be07a77f1 | ||
![]() |
75d8df8e36 |
7
.editorconfig
Normal file
7
.editorconfig
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
bin/*
|
||||||
|
!bin/.gitkeep
|
1
CHANGELOG.md
Normal file
1
CHANGELOG.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# Changelog
|
1
CONTRIBUTING.md
Normal file
1
CONTRIBUTING.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
## Contributing
|
26
Makefile
Normal file
26
Makefile
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
CC := gcc
|
||||||
|
CFLAGS := -Wall -Wextra -Iheaders
|
||||||
|
|
||||||
|
PROG_NAME := program
|
||||||
|
SRC_DIR := src
|
||||||
|
BIN_DIR := bin
|
||||||
|
INC_DIR := include
|
||||||
|
|
||||||
|
TARGET := $(BIN_DIR)/$(PROG_NAME)
|
||||||
|
|
||||||
|
SRCS := $(wildcard $(SRC_DIR)/*.c)
|
||||||
|
OBJS := $(SRCS:$(SRC_DIR)/%.c=$(BIN_DIR)/%.o)
|
||||||
|
|
||||||
|
all: $(TARGET)
|
||||||
|
|
||||||
|
$(TARGET): $(OBJS) | $(BIN_DIR)
|
||||||
|
$(CC) $(OBJS) -o $@
|
||||||
|
@rm -f $(OBJS)
|
||||||
|
|
||||||
|
$(BIN_DIR)/%.o: $(SRC_DIR)/%.c | $(BIN_DIR)
|
||||||
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(BIN_DIR)
|
||||||
|
|
||||||
|
.PHONY: all clean
|
0
completions/bash/.gitkeep
Normal file
0
completions/bash/.gitkeep
Normal file
0
completions/fish/.gitkeep
Normal file
0
completions/fish/.gitkeep
Normal file
0
completions/zsh/.gitkeep
Normal file
0
completions/zsh/.gitkeep
Normal file
4
docs/README.md
Normal file
4
docs/README.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
Write here the documentation for your project!
|
0
lib/.gitkeep
Normal file
0
lib/.gitkeep
Normal file
0
scripts/.gitkeep
Normal file
0
scripts/.gitkeep
Normal file
@@ -1,2 +1,2 @@
|
|||||||
|
|
||||||
int main(int argc, char *argv) { return 0; }
|
int main(int argc, char **argv) { return 0; }
|
||||||
|
0
tests/.gitkeep
Normal file
0
tests/.gitkeep
Normal file
Reference in New Issue
Block a user