summaryrefslogtreecommitdiff
blob: 9bb35b43f24a6196306085d8d43153b69115c8fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/makefile
+++ b/makefile
@@ -11,11 +11,11 @@
 HEADERS = general.h clustalw.h
 
 CC	= cc
-CFLAGS  = -c -O
-LFLAGS	= -O -lm 
+CFLAGS  += -c
+LIBS	= -lm 
 
 clustalw : $(OBJECTS) amenu.o clustalw.o
-	$(CC) -o $@ $(OBJECTS) amenu.o clustalw.o $(LFLAGS)
+	$(CC) $(LDFLAGS) -o $@ $(OBJECTS) amenu.o clustalw.o $(LIBS)
 
 interface.o : interface.c $(HEADERS) param.h
 	$(CC) $(CFLAGS) $*.c