aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2023-05-20 12:09:03 +0300
committerkartofen <mladenovnasko0@gmail.com>2023-05-20 12:09:03 +0300
commit8b45ca7ec2bda9e870a6a91de05d4ac8364f82f9 (patch)
treeaa42e1ec2429d164b0170a9452f8c05b52c96c34
init
-rw-r--r--.gitignore1
-rw-r--r--Makefile17
-rw-r--r--README.md9
3 files changed, 27 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7447f89
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/bin \ No newline at end of file
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..fc927b7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+CC := gcc
+
+CFLAGS := -Wall -Wextra -Wpedantic
+BIND := bin
+
+CSRCS = $(shell find . -type f -name '*.c')
+
+.PHONY: all clean
+
+all: $(CSRCS:%.c=$(BIND)/%)
+
+clean:
+ rm -rf $(BIND)
+
+$(BIND)/%: %.c
+ mkdir -p $(dir $@)p
+ $(CC) $(CFLAGS) $^ -o $@
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a489e3d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,9 @@
+### Other
+
+These repo is full of stupid little implementations and prototypes
+
+### Programs:
+
+##### sleep-sort
+
+Implementation of sleep sort