diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mrcanavar-0.34/Makefile	Tue Feb 21 10:44:13 2012 -0500
@@ -0,0 +1,21 @@
+CC=gcc
+CFLAGS = -c -O2 -g
+LDFLAGS = -lz -lm
+SOURCES = mrcanavar.c utils.c prep.c sam.c callcnv.c gcnorm.c
+OBJECTS = $(SOURCES:.c=.o)
+EXECUTABLE = mrcanavar
+
+all: $(SOURCES) $(EXECUTABLE)
+	rm -rf *.o
+		
+$(EXECUTABLE): $(OBJECTS) 
+	$(CC) $(OBJECTS) -o $@ $(LDFLAGS)
+
+.c.o:
+	$(CC) $(CFLAGS) $< -o $@
+
+clean: 
+	rm -f $(EXECUTABLE) *.o *~
+
+install:	
+	cp mrcanavar ~/bin