aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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