From 22e3fdd078b0c98df5920a10cd0f9f7c0f5f4eda Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Thu, 5 Feb 2009 16:02:36 +0000 Subject: [PATCH] add static target Signed-off-by: Mark Hymers --- tools/dsync-0.0/Makefile | 4 ++++ tools/dsync-0.0/buildlib/makefile.in | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/dsync-0.0/Makefile b/tools/dsync-0.0/Makefile index 84d3bb2f..d30b1563 100644 --- a/tools/dsync-0.0/Makefile +++ b/tools/dsync-0.0/Makefile @@ -12,6 +12,10 @@ all headers library clean veryclean binary program doc: $(MAKE) -C cmdline $@ $(MAKE) -C doc $@ +static: + $(MAKE) -C libdsync + LDFLAGS="-static" $(MAKE) -C cmdline + # Some very common aliases .PHONY: maintainer-clean dist-clean distclean pristine sanity maintainer-clean dist-clean distclean pristine sanity: veryclean diff --git a/tools/dsync-0.0/buildlib/makefile.in b/tools/dsync-0.0/buildlib/makefile.in index de2f70de..3a962573 100644 --- a/tools/dsync-0.0/buildlib/makefile.in +++ b/tools/dsync-0.0/buildlib/makefile.in @@ -14,9 +14,9 @@ BUILD:=$(shell pwd) export BUILD # Chain to the parent make to do the actual building -.PHONY: headers library clean veryclean all binary program doc \ +.PHONY: headers library clean veryclean all binary program doc static \ veryclean/local -all headers library clean veryclean binary program doc: +all headers library clean veryclean binary program doc static: $(MAKE) -C $(SRCDIR) -f Makefile $@ # Purge everything. -- 2.39.5