From: Mark Hymers Date: Thu, 5 Feb 2009 16:02:36 +0000 (+0000) Subject: add static target X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=22e3fdd078b0c98df5920a10cd0f9f7c0f5f4eda;p=dak.git add static target Signed-off-by: Mark Hymers --- 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.