~ubuntu-branches/debian/sid/njplot/sid

« back to all changes in this revision

Viewing changes to makefile

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2002-02-18 13:17:50 UTC
  • Revision ID: james.westby@ubuntu.com-20020218131750-4u56c6gqvj0j44h7
Tags: 0.0-4
Added CPPFLAGS=-DWIN_MOTIF in rules file
(closes: #134083)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
VIBRANT = /evol10/mgouy/ncbi2
2
 
 
3
1
OBJNJPLOT = njplot-vib.o
4
2
 
5
3
OBJUNROOTED = unrooted-vib.o preptree.o
6
4
 
7
 
CFLAGS = -c -I$(VIBRANT)/include $(OPT) $(DEBUG)
 
5
CFLAGS = -c -I/usr/include/ncbi  $(OPT) $(DEBUG) $(CPPFLAGS)
8
6
 
9
 
CC = cc
 
7
CC = gcc
10
8
 
11
9
all: njplot unrooted
12
10
 
13
11
njplot: $(OBJNJPLOT)
14
12
        $(CC) $(DEBUG) -o $@ $(OBJNJPLOT) \
15
 
        -L$(VIBRANT)/lib -lvibrant -lncbi \
16
 
        -L/usr/dt/lib -lXm -lXmu\
 
13
        -L/usr/X11R6/lib -lvibrant -lncbi \
 
14
        -lXm -lXmu\
17
15
        -lXt -lX11 -lm
18
16
 
19
17
unrooted: $(OBJUNROOTED)
20
18
        $(CC) $(DEBUG) -o $@ $(OBJUNROOTED) \
21
 
        -L$(VIBRANT)/lib -lvibrant -lncbi \
22
 
        -L/usr/dt/lib -lXm -lXmu\
 
19
        -L/usr/X11R6/lib -lvibrant -lncbi \
 
20
        -lXm -lXmu\
23
21
        -lXt -lX11 -lm
24
22
 
25
23
.c.o : 
26
24
        $(CC) $(CFLAGS)  $?
 
25
 
 
26
install:
 
27
        install -m 0755 njplot unrooted $(DESTDIR)/usr/bin
 
28
        install -m 0644 njplot.help $(DESTDIR)/usr/lib/njplot
 
29
 
 
30
clean:
 
31
        rm -f *.o njplot unrooted
 
32