-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 836 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (21 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
LIBS = -lCommon -lAMOS -lz -lc -lm
CXX=g++
CC=g++
CXXFLAGS=-Wall -Wno-missing-declarations -O4 -funroll-loops -fexpensive-optimizations -finline-functions -fomit-frame-pointer
PROG=extractScaffold bank2sam
#You will have to change these paths to something that suits your system
INCDIR=-I/projects/454data/bin/amos_git/include/AMOS
LIBDIR=-L/projects/454data/bin/amos_git/lib/AMOS
all : $(PROG)
OBJS = extractScaffold.o bank2sam.o
bank2sam.o : bank2sam.cc
$(CC) $(CXXFLAGS) $(INCDIR) -c bank2sam.cc
extractScaffold.o : extractScaffold.cc
$(CC) $(CXXFLAGS) $(INCDIR) -c extractScaffold.cc
extractScaffold :
$(CC) $(CXXFLAGS) -o extractScaffold extractScaffold.o $(LIBS) $(INCDIR) $(LIBDIR)
bank2sam :
$(CC) $(CXXFLAGS) -o bank2sam bank2sam.o $(LIBS) $(INCDIR) $(LIBDIR)
$(PROG) : $(OBJS)
clean :
rm -f *.o *~ $(PROG)