From 8b45ca7ec2bda9e870a6a91de05d4ac8364f82f9 Mon Sep 17 00:00:00 2001 From: kartofen Date: Sat, 20 May 2023 12:09:03 +0300 Subject: init --- .gitignore | 1 + Makefile | 17 +++++++++++++++++ README.md | 9 +++++++++ 3 files changed, 27 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 README.md 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 -- cgit v1.2.3