[med-svn] [dwgsim] 04/05: Add ldflags to program compile rules
Kevin Murray
daube-guest at moszumanska.debian.org
Mon Oct 26 00:59:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
daube-guest pushed a commit to branch master
in repository dwgsim.
commit d9e574caf6f42a308e2c1349b2f9130dcb5c4396
Author: Kevin Murray <spam at kdmurray.id.au>
Date: Mon Oct 26 11:57:20 2015 +1100
Add ldflags to program compile rules
---
debian/patches/0001-Debian-ise-makefile.patch | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/debian/patches/0001-Debian-ise-makefile.patch b/debian/patches/0001-Debian-ise-makefile.patch
index 578a815..c41449a 100644
--- a/debian/patches/0001-Debian-ise-makefile.patch
+++ b/debian/patches/0001-Debian-ise-makefile.patch
@@ -5,11 +5,11 @@ Subject: Debian-ise makefile
Fix parts of the makefile patching
---
- Makefile | 82 ++++++++++++++++------------------------------------------------
- 1 file changed, 20 insertions(+), 62 deletions(-)
+ Makefile | 84 ++++++++++++++++------------------------------------------------
+ 1 file changed, 21 insertions(+), 63 deletions(-)
diff --git a/Makefile b/Makefile
-index 0d5b9ec..f65e6ea 100644
+index 0d5b9ec..e4f7134 100644
--- a/Makefile
+++ b/Makefile
@@ -1,73 +1,31 @@
@@ -69,12 +69,13 @@ index 0d5b9ec..f65e6ea 100644
-.PHONY:all-recur lib-recur clean-recur cleanlocal-recur install-recur
-
-dwgsim:lib-recur $(DWGSIM_AOBJS)
-+dwgsim: $(DWGSIM_AOBJS)
- $(CC) $(CFLAGS) -o $@ $(DWGSIM_AOBJS) -lm -lz -lpthread
-
+- $(CC) $(CFLAGS) -o $@ $(DWGSIM_AOBJS) -lm -lz -lpthread
+-
-dwgsim_eval:lib-recur $(DWGSIM_EVAL_AOBJS)
- $(CC) $(CFLAGS) -o $@ $(DWGSIM_EVAL_AOBJS) -Lsamtools -lm -lz -lpthread
--
++dwgsim: $(DWGSIM_AOBJS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(DWGSIM_AOBJS) -lm -lz -lpthread
+
cleanlocal:
- rm -vfr gmon.out *.o a.out *.exe *.dSYM razip bgzip $(PROG) *~ *.a *.so.* *.so *.dylib; \
- wdir=`pwd`; \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/dwgsim.git
More information about the debian-med-commit
mailing list