summaryrefslogtreecommitdiff
path: root/sci-chemistry/suitename/files/suitename-0.3.070628-makefile.patch
blob: b4766d4238d45991c711bf81b1e1f9ac9aa9d444 (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
27
28
29
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -1,24 +1,14 @@
 # suitename
 
-ifeq ($(MAKECMDGOALS),debug)
-CFLAGS = -g
-else
-CFLAGS =
-endif
-
-LIBS = -lm 
+LDLIBS = -lm 
 
 # ---------------------------------------------------------------------
 
-OBJS = suitename.o suitenscrt.o suiteninit.o suiteninpt.o suitenout.o suitenutil.o
+OBJS = suitenscrt.o suiteninit.o suiteninpt.o suitenout.o suitenutil.o
 
 # ---------------------------------------------------------------------
 HEADERS = suitename.h suitenscrt.h suitenutil.h suiteninit.h suiteninpt.h suitenout.h
 suitename: $(OBJS)
-	cc -o suitename $(CFLAGS) $(OBJS) $(LIBS)
-
-debug:     $(OBJS)
-	cc -o suitename $(CFLAGS) $(OBJS) $(LIBS)
 
 clean:
 	rm -f *.o