Small Make tune-up
On first build, targets such as 'programs' already worked fine. By adding
'lib' as a dependency here, we make sure dependencies for the library are
checked first so that it is rebuild if necessary on subsequent builds.
diff --git a/Makefile b/Makefile
index 0e272c6..c5720c7 100644
--- a/Makefile
+++ b/Makefile
@@ -10,13 +10,13 @@
no_test: programs
-programs:
+programs: lib
$(MAKE) -C programs
lib:
$(MAKE) -C library
-tests:
+tests: lib
$(MAKE) -C tests
ifndef WINDOWS
@@ -60,7 +60,7 @@
endif
ifndef WINDOWS
-check:
+check: lib
$(MAKE) -C tests check
test: check