summaryrefslogtreecommitdiff
path: root/cad/simian/patches/patch-aa
blob: 8eff5c7ce5fd23aea9dc71b1959eb5c30cd95053 (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
30
31
32
33
34
$NetBSD: patch-aa,v 1.1.1.1 2001/04/28 02:36:35 dmcmahill Exp $

--- Makefile.orig	Mon Dec  7 03:28:52 1998
+++ Makefile		Fri Apr 27 17:09:20 2001
@@ -1,6 +1,4 @@
 
-SHELL = /bin/csh
-CCC = c++
-CCFLAGS = -g  
+CXXFLAGS+= -Wformat
 LDFLAGS = -lm 
 RM = /bin/rm
@@ -14,5 +12,5 @@
 
 simian : $(OBJEC)
-	$(CCC) $(CCFLAGS) $(TARGET_ARCH) $(OBJEC) -o simian $(LDFLAGS)
+	$(CXX) $(CXXFLAGS) $(TARGET_ARCH) $(OBJEC) -o simian $(LDFLAGS)
 
 main.o : main.cc weeks.h  
@@ -48,11 +46,11 @@
 
 $(INCLU)/linear.o : $(INCLU)/linear.cc
-	g++ -c $(CFLAGS) $(INCLU)/linear.cc -o $(INCLU)/linear.o
+	$(CXX) -c $(CXXFLAGS) $(INCLU)/linear.cc -o $(INCLU)/linear.o
 
 $(INCLU)/bessel.o : $(INCLU)/bessel.cc
-	g++ -c $(CFLAGS) $(INCLU)/bessel.cc -o $(INCLU)/bessel.o
+	$(CXX) -c $(CXXFLAGS) $(INCLU)/bessel.cc -o $(INCLU)/bessel.o
 
 clean:
-	$(RM) -f *.o
+	$(RM) -f *.o simian
 	cd ../include; $(RM) -f *.o