- Always use dependencies with targets. Initial make call is the workhorse: build, generate, deploy, install, etc. Any subsequent make calls should be a NOP unless sources or dependencies change or have been removed.
- Wrapper check/unit tests with a ENABLE_TESTS conditional so tests can be disabled on demand.
ifeq ($(NULL),$(filter WINNT OS2,$(OS_ARCH)))
DIRS += test
endif # WIN
endif # ENABLE_TESTS > >