aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-28 22:00:09 +0100
committerFederico Angelilli <code@fedang.net>2024-03-28 22:00:53 +0100
commitb5ee786a0aece3e0401d08f5d378d3a0e4e8a7c1 (patch)
treeea14c8f7d2f9e43c2988a697bc4b854e8a5bc9dd
parent47ae717ef705ea6e06befcc1977a8045a84a66e9 (diff)
Add Makefile
-rw-r--r--Makefile13
-rw-r--r--README.md3
2 files changed, 16 insertions, 0 deletions
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**
+