[med-svn] [patman] 01/15: [svn-inject] Installing original source of patman
Andreas Tille
tille at debian.org
Wed Dec 13 19:28:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository patman.
commit db9970270672884ca82c7daef26531ac30c52d90
Author: Charles Plessy <plessy at debian.org>
Date: Sat Jun 21 03:58:06 2008 +0000
[svn-inject] Installing original source of patman
---
Makefile | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..394337a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,49 @@
+# PatMaN DNA pattern matcher
+# (C) 2007 Kay Pruefer, Udo Stenzel
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or (at
+# your option) any later version. See the LICENSE file for details.
+
+prefix := ${HOME}
+version := 1.2
+
+TARGETS := patman
+OBJS := prefix_tree.o fasta.o main.o
+CPPFLAGS += -Wall
+CPPFLAGS += -O3 -funroll-loops -DNDEBUG -march=k8
+# CPPFLAGS += -ggdb
+LDLIBS += -lpopt
+
+all: $(TARGETS)
+
+patman: $(OBJS)
+ g++ $(CPPFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
+
+%.o: %.cpp
+ g++ -DVERSION="\"$(version)\"" $(CPPFLAGS) -c -o $@ $<
+
+install: $(TARGET)
+ install -d ${prefix}/bin
+ install -d ${prefix}/share/man/man1
+ install -s -m755 $^ ${prefix}/bin
+ install -m644 patman.1 ${prefix}/share/man/man1
+
+fasta.o: fasta.h
+prefix_tree.o: prefix_tree.h global.h
+main.o: fasta.h prefix_tree.h global.h
+
+.SUFFIXES:
+
+.PHONY: clean mrproper dist all
+
+dist: all
+ $(MAKE) clean
+ strip $(TARGETS)
+
+clean:
+ -rm -f $(OBJS)
+
+mrproper: clean
+ -rm -r $(TARGET)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/patman.git
More information about the debian-med-commit
mailing list