From b5ee786a0aece3e0401d08f5d378d3a0e4e8a7c1 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Thu, 28 Mar 2024 22:00:09 +0100 Subject: Add Makefile --- Makefile | 13 +++++++++++++ README.md | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5387d1f --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ + +SRCS = $(wildcard test/*.c) +TESTS = $(SRCS:.c=) + +all: tests + +tests: $(TESTS) + +%: %.c + $(CC) -I. $< -o $@ + +clean: + rm -rf $(TESTS) diff --git a/README.md b/README.md index d4513ba..5872205 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ # any\_libs single-file C library licensed under MIT + +**NOTE: Still in early stages of development! Use at your own risk** + -- cgit v1.2.3