$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