File: makefile

package info (click to toggle)
njplot 0.20041129-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 264 kB
  • ctags: 611
  • sloc: ansic: 5,612; makefile: 56; perl: 37
file content (35 lines) | stat: -rw-r--r-- 717 bytes parent folder | download
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
29
30
31
32
33
34
35
#VIBRANT = /banques0/ncbi6.1
#VIBRANT = /banques0/ncbiJun04
#MOTIFLIB = /usr/dt/lib

OBJNJPLOT = njplot-vib.o

OBJUNROOTED = unrooted-vib.o preptree.o

CFLAGS = -I/usr/include/ncbi $(OPT) $(DEBUG) $(CPPFLAGS)
LIBS =  -L/usr/X11R6/lib -lvibrant -lncbi \
        -lXm -lXmu -lXt -lX11 -lm

CC = gcc

all: njplot unrooted newicktops newicktotxt add_root

njplot: $(OBJNJPLOT)
	$(CC) $(DEBUG) -o $@ $(OBJNJPLOT) $(LIBS)

unrooted: $(OBJUNROOTED)
	$(CC) $(DEBUG) -o $@ $(OBJUNROOTED) $(LIBS)

newicktops: njplot-vib.c
	$(CC) -DNO_GUI  -o $@ njplot-vib.c -lm

newicktotxt: njplot-vib.c
	$(CC) -DTTY  -o $@ njplot-vib.c -lm


add_root: njplot-vib.c
	$(CC) -DADDROOT  -o $@ njplot-vib.c -lm


.c.o : 
	$(CC) -c $(CFLAGS)  $?