aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-12-28 20:30:04 +0800
committerMistivia <i@mistivia.com>2025-12-28 20:30:19 +0800
commit86f6498768bd40c029504cdd5e711aa567248cb4 (patch)
tree2a525c102e77e1ae1cd632c5c0550e75e19e7c6e /Makefile
parent6a299d9e7d9c3353394790b8048284a984fdfdc6 (diff)
modify pq
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3dfe832..8283dde 100644
--- a/Makefile
+++ b/Makefile
@@ -26,11 +26,11 @@ obj = $(src:.c=.o)
tests=$(shell ls tests/*.c)
tests_bin=$(tests:.c=.bin)
-all: libalgds.a
-
libalgds.a: $(obj)
ar cr $@ $^
+all: libalgds.a $(tests_bin)
+
install: libalgds.a
sudo mkdir -p /usr/local/include/algds
sudo cp *.h /usr/local/include/algds