chiark / gitweb /
-lg++ no longer required
authorian <ian>
Sun, 3 Apr 2005 14:14:44 +0000 (14:14 +0000)
committerian <ian>
Sun, 3 Apr 2005 14:14:44 +0000 (14:14 +0000)
Makefile

index c82512a..f092b5b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,7 @@
-CPPFLAGS= -I/usr/include -Wall -O2 -Wmissing-prototypes -Wstrict-prototypes $(WERROR)
+CPPFLAGS= -I/usr/include \
+       -Wall -O2 -Wmissing-prototypes -Wstrict-prototypes \
+       -Wno-deprecated \
+       $(WERROR)
 WERROR=-Werror
 LDFLAGS= 
 LIBS= 
@@ -7,7 +10,7 @@ OBJS=  dualx11.o x11.o main.o parameter.o graphics.o library.o \
        transforms.o postscript.o moebius.o
 
 a.out: $(OBJS)
-       $(LINK.cc) -o a.out $(OBJS) -lm -L/usr/X11R6/lib -lX11 -lg++
+       $(LINK.cc) -o a.out $(OBJS) -lm -L/usr/X11R6/lib -lX11
 
 depend:
        $(C++) $(CPPFLAGS) -E -MM *.cc >.depend