diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2012-07-20 15:16:32 +0300 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2012-07-20 16:08:17 -0400 |
commit | 0db9f9b5015b8a34324667dfa9f42a1f92a86159 (patch) | |
tree | a2e8cd9cbbe357f54080ed485f056549a3a83cf8 | |
parent | 481c1501b64721591bb7073a078c4020143bef58 (diff) | |
download | libseccomp-release-0.1.tar.gz |
build: fixed target dependency issuesrelease-0.1
The tests and tools targets depend on libraries generated by the src
target. Adding as dependency at the Makefile inside these respective
folders is not enough since libseccomp uses recursive make.
Signed-off-by: Thiago Marcos P. Santos <thiago.santos@intel.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -71,7 +71,15 @@ $(VERSION_HDR): version_info.mk echo "#define VERSION_RELEASE \"$(VERSION_RELEASE)\"" >> $$hdr; \ echo "#endif" >> $$hdr; -$(SUBDIRS_BUILD): $(VERSION_HDR) $(CONFIGS) +src: $(VERSION_HDR) $(CONFIGS) + @echo "INFO: building in directory $@/ ..." + @$(MAKE) -s -C $@ + +tests: src + @echo "INFO: building in directory $@/ ..." + @$(MAKE) -s -C $@ + +tools: src @echo "INFO: building in directory $@/ ..." @$(MAKE) -s -C $@ |