source: branches/help/GDE/PHYML/Makefile.org

Last change on this file was 4073, checked in by westram, 18 years ago
  • phyml 2.4.5
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1hello !!!
2
3CC = gcc #cc
4CFLAGS = -O4 -fomit-frame-pointer -Wall -static
5# CFLAGS = -Wall
6# CFLAGS = -g -Wall
7# CFLAGS = -pg -Wall -fprofile-arcs -static
8LIBS = -lm
9
10PROG = PHYML
11EXEC = phyml
12
13
14DFLAG = -DUNIX -D$(PROG)
15
16#rien :
17#       @echo Nothing to do ?...
18
19
20######################################################################################################
21
22OBJS = main.o utilities.o optimiz.o lk.o bionj.o models.o free.o options.o simu.o eigen.o
23
24
25$(EXEC) : $(OBJS)
26        $(CC) -o $(EXEC) $(OBJS) $(LIBS) $(CFLAGS)
27
28clean :
29        @rm *.o
30######################################################################################################
31
32eigen.o : eigen.c eigen.h
33        $(CC) $(CFLAGS) $(DFLAG) -c eigen.c
34
35simu.o : simu.c simu.h
36        $(CC) $(CFLAGS) $(DFLAG) -c simu.c
37
38lk.o : lk.c lk.h
39        $(CC) $(CFLAGS) $(DFLAG) -c lk.c
40
41utilities.o : utilities.c utilities.h
42        $(CC) $(CFLAGS) $(DFLAG) -c utilities.c
43
44optimiz.o : optimiz.c optimiz.h
45        $(CC) $(CFLAGS) $(DFLAG) -c optimiz.c
46
47bionj.o : bionj.c bionj.h
48        $(CC) $(CFLAGS) $(DFLAG) -c bionj.c
49
50main.o : main.c
51        $(CC) $(CFLAGS) $(DFLAG) -c main.c
52
53models.o : models.c models.h
54        $(CC) $(CFLAGS) $(DFLAG) -c models.c
55
56free.o : free.c free.h
57        $(CC) $(CFLAGS) $(DFLAG) -c free.c
58
59options.o : options.c options.h
60        $(CC) $(CFLAGS) $(DFLAG) -c options.c
61
Note: See TracBrowser for help on using the repository browser.