annotate mrcanavar-0.34/Makefile @ 0:86522a0b5f59 default tip

Uploaded source code for mrCaNaVaR
author calkan
date Tue, 21 Feb 2012 10:44:13 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
1 CC=gcc
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
2 CFLAGS = -c -O2 -g
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
3 LDFLAGS = -lz -lm
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
4 SOURCES = mrcanavar.c utils.c prep.c sam.c callcnv.c gcnorm.c
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
5 OBJECTS = $(SOURCES:.c=.o)
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
6 EXECUTABLE = mrcanavar
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
7
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
8 all: $(SOURCES) $(EXECUTABLE)
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
9 rm -rf *.o
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
10
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
11 $(EXECUTABLE): $(OBJECTS)
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
12 $(CC) $(OBJECTS) -o $@ $(LDFLAGS)
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
13
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
14 .c.o:
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
15 $(CC) $(CFLAGS) $< -o $@
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
16
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
17 clean:
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
18 rm -f $(EXECUTABLE) *.o *~
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
19
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
20 install:
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
21 cp mrcanavar ~/bin