Skip to content

Commit

Permalink
Make now compiles stxtyper also
Browse files Browse the repository at this point in the history
  • Loading branch information
evolarjun committed Feb 29, 2024
1 parent d44b5b4 commit c696f3f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ CXX=g++
COMPILE.cpp= $(CXX) $(CPPFLAGS) $(SVNREV) $(DBDIR) $(TEST_UPDATE_DB) -c


.PHONY: all clean install release
.PHONY: all clean install release stxtyper

BINARIES= amr_report amrfinder amrfinder_index amrfinder_update fasta_check fasta_extract fasta2parts gff_check dna_mutation mutate

all: $(BINARIES)
all: $(BINARIES) stxtyper

release: clean
svnversion . > version.txt
Expand Down Expand Up @@ -151,18 +151,21 @@ mutateOBJS=mutate.o common.o alignment.o seq.o
mutate: $(mutateOBJS)
$(CXX) -o $@ $(mutateOBJS)


stxtyper:
$(MAKE) -C stxtyper

clean:
rm -f *.o
rm -f $(BINARIES)
$(MAKE) -C stxtyper clean

install:
@if [ ! -e $(DESTDIR)$(bindir) ]; \
then \
mkdir -p $(DESTDIR)$(bindir); \
fi
$(INSTALL) $(BINARIES) $(DESTDIR)$(bindir)
make -C stxtyper install PREFIX=$(PREFIX) bindir=$(bindir)

# amrfinder binaries for github binary release
GITHUB_FILE=amrfinder_binaries_v$(VERSION_STRING)
Expand Down
2 changes: 1 addition & 1 deletion stxtyper
Submodule stxtyper updated 1 files
+3 −2 Makefile

0 comments on commit c696f3f

Please sign in to comment.