Debian Codegraph @

Makefile.generic

raw ◀ ▶
1 Debian patch touch this file
1 CC= gcc
2 CXX= g++
•3 CFLAGS+= -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -DHAVE_FREEGLUT# -pg -fprofile-arcs -ftest-coverage
4 CXXFLAGS:= $(CFLAGS)
5 DFLAGS=
6 ZOBJS= adler32.o compress.o crc32.o deflate.o gzio.o inffast.o inflate.o \
7 infback.o inftrees.o trees.o uncompr.o zutil.o
8 OBJS= zrio.o btree.o maqmap_index.o read_cache.o cns_cache.o const.o stdhashc.o
9 PROGS= maqindex maqview zrio
10 VERSION= 0.2.4
11 LIBS= -lm
12 #For Mac
13 #GLLIBS= -framework openGL -framework glut
14 #For Linux
15 #GLLIBS= -lGL -lglut
16 GLLIBS= -Wl,-Bstatic -lglut -Wl,-Bdynamic -lGL -lGLU
17
18 .SUFFIXES:.c .o .cc
19
20 .c.o:
•21 $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DFLAGS) $< -o $@
22 .cc.o:
•23 $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(DFLAGS) $< -o $@
24
25 all:$(PROGS)
26
27 zrio:$(ZOBJS) zrio_main.o
•28 $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DMAIN_ZRIO zrio_main.o zrio.o $(ZOBJS)
29
30 maqindex:$(ZOBJS) $(OBJS) maqmap_index_main.o
•31 $(CXX) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(ZOBJS) $(OBJS) maqmap_index_main.o
32
33 maqview:$(ZOBJS) $(OBJS) view_goto.o MainFrame.o view_panel.o gl_gui.o
•34 $(CXX) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(ZOBJS) $(OBJS) view_goto.o view_panel.o gl_gui.o MainFrame.o $(GLLIBS)
35
36 maqview.1:maqview.pod
37 pod2man --center "Bioinformatics Tools" --release "maqview-$(VERSION)" maqview.pod > $@
38
39 adler32.o: zlib.h zconf.h
40 compress.o: zlib.h zconf.h
41 crc32.o: crc32.h zlib.h zconf.h
42 deflate.o: deflate.h zutil.h zlib.h zconf.h
43 gzio.o: zutil.h zlib.h zconf.h
44 inffast.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
45 inflate.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
46 infback.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
47 inftrees.o: zutil.h zlib.h zconf.h inftrees.h
48 trees.o: deflate.h zutil.h zlib.h zconf.h trees.h
49 uncompr.o: zlib.h zconf.h
50 zutil.o: zutil.h zlib.h zconf.h
51
52 clear:
53 rm -f *.o a.out *~ *.a
54
55 clean:
56 rm -f *.o a.out *~ *.a $(PROGS) maqview.1 *.gc* gmont.out