summaryrefslogtreecommitdiff
path: root/sci-biology/sibsim4/files/sibsim4-0.20-makefile.patch
blob: 6436747e3dd9510037627e0e4ee5bc1dbdf9d38f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/Makefile
+++ b/Makefile
@@ -21,13 +21,12 @@
 # to change it to this:
 # CFLAGS = -Xc
 
-CFLAGS = -std=gnu99 -W -Wall -Wconversion -pedantic $(DEBUG) $(OPT)
+CFLAGS += -std=gnu99 -Wall -Wconversion -pedantic
 
 
 # The default is GCC.  On Solaris, you might put:
 # CC = /opt/SUNWspro/bin/cc
 
-CC = gcc
 
 
 # Depending on the compile flags you use, you might need to explicitly use the
@@ -42,7 +41,7 @@
 OBJS = sim4b1.o align.o misc.o sim4.init.o
 
 sim4: $(OBJS)
-	$(CC) -o SIBsim4 $(CFLAGS) $(OBJS) $(LIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o SIBsim4 $(OBJS) $(LIBS)
 
 clean:
 	rm -f SIBsim4 *.o