summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1993-07-17 12:12:57 +0000
committermycroft <mycroft@NetBSD.org>1993-07-17 12:12:57 +0000
commit602e86f3d60b99da27a94b29f4dd5f2d027e2d62 (patch)
treef7c950df544f33089c24baf9571f6b5249041c18 /gnu
parentb761d4a97c0f79feea84feefcc3933e5c730bd8b (diff)
Nuke extraneous suffix rules, and make depend work.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libg++/libg++/Makefile20
1 files changed, 2 insertions, 18 deletions
diff --git a/gnu/lib/libg++/libg++/Makefile b/gnu/lib/libg++/libg++/Makefile
index 086bf86c2df..c59b0c9327f 100644
--- a/gnu/lib/libg++/libg++/Makefile
+++ b/gnu/lib/libg++/libg++/Makefile
@@ -1,5 +1,3 @@
-LIB= g++
-CC= gcc
SRCS= AllocRing.cc Obstack.cc builtin.cc \
regex.cc Regex.cc String.cc Integer.cc Rational.cc Complex.cc Random.cc \
BitSet.cc BitString.cc LogNorm.cc SmplHist.cc SmplStat.cc \
@@ -17,23 +15,9 @@ SRCS= AllocRing.cc Obstack.cc builtin.cc \
sbufvscan.C stdiostream.C floatconv.C outfloat.C iomanip.C \
insque.c strerror.c
-CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libiberty
-GFLAGS= -nostdinc++ -I$(.CURDIR) -I$(.CURDIR)/../g++-include \
- -I$(.CURDIR)/../iostream
+CFLAGS+= -nostdinc++ -I$(.CURDIR) -I$(.CURDIR)/../g++-include \
+ -I$(.CURDIR)/../iostream -I$(.CURDIR)/../libiberty
NOMAN= noman
.PATH: $(.CURDIR)/../iostream $(.CURDIR)/../libiberty
.include <bsd.lib.mk>
-
-.SUFFIXES: .cc .C
-.cc.o:
- $(CC) $(GFLAGS) -c $(.IMPSRC)
-
-.cc.po:
- $(CC) -p $(GFLAGS) -c $(.IMPSRC) -o $(.TARGET)
-
-.C.o:
- $(CC) $(GFLAGS) -c $(.IMPSRC)
-
-.C.po:
- $(CC) -p $(GFLAGS) -c $(.IMPSRC) -o $(.TARGET)