aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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