Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
| 1 |
# PatMaN DNA pattern matcher |
| 2 |
# (C) 2007 Kay Pruefer, Udo Stenzel |
| 3 |
# |
| 4 |
# This program is free software; you can redistribute it and/or modify |
| 5 |
# it under the terms of the GNU General Public License as published by |
| 6 |
# the Free Software Foundation; either version 2 of the License, or (at |
| 7 |
# your option) any later version. See the LICENSE file for details. |
| 8 |
|
| 9 |
prefix := ${HOME} |
| 10 |
version := 1.2 |
| 11 |
|
| 12 |
TARGETS := patman |
| 13 |
OBJS := prefix_tree.o fasta.o main.o |
| 14 |
CPPFLAGS += -Wall |
| 15 |
CPPFLAGS += -O3 -funroll-loops -DNDEBUG -march=k8 |
| 16 |
# CPPFLAGS += -ggdb |
| 17 |
LDLIBS += -lpopt |
| 18 |
|
| 19 |
all: $(TARGETS) |
| 20 |
|
| 21 |
patman: $(OBJS) |
| 22 |
g++ $(CPPFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) |
| 23 |
|
| 24 |
%.o: %.cpp |
| 25 |
g++ -DVERSION="\"$(version)\"" $(CPPFLAGS) -c -o $@ $< |
| 26 |
|
| 27 |
install: $(TARGETS) |
| 28 |
install -d ${prefix}/bin |
| 29 |
install -d ${prefix}/share/man/man1 |
| 30 |
install -s -m755 $^ ${prefix}/bin |
| 31 |
install -m644 patman.1 ${prefix}/share/man/man1 |
| 32 |
|
| 33 |
fasta.o: fasta.h |
| 34 |
prefix_tree.o: prefix_tree.h global.h |
| 35 |
main.o: fasta.h prefix_tree.h global.h |
| 36 |
|
| 37 |
.SUFFIXES: |
| 38 |
|
| 39 |
.PHONY: clean mrproper dist all |
| 40 |
|
| 41 |
dist: all |
| 42 |
$(MAKE) clean |
| 43 |
strip $(TARGETS) |
| 44 |
|
| 45 |
clean: |
| 46 |
-rm -f $(OBJS) |
| 47 |
|
| 48 |
mrproper: clean |
| 49 |
-rm -r $(TARGETS) |