home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-03-03 | 417 b | 24 lines |
- # @(#)Makefile.g++ 6.2 (Berkeley) 3/3/91
-
- #
- # Define g++ compilation rules.
- #
-
- GXX= g++
- GXXFLAGS= -O -felide-constructors
- LDXX= /usr/libexec/ld++
- # Temporary, to achieve linking
- CC= g++
-
- .SUFFIXES: .cc
-
- .cc.o:
- $(GXX) $(GXXFLAGS) -c $(.IMPSRC)
-
- .y.o:
- $(YACC) $(YFLAGS) $(.IMPSRC)
- mv y.tab.c $(.PREFIX).cc
- -[ -f y.tab.h ] && mv y.tab.h $(.PREFIX).tab.h
- $(GXX) $(GXXFLAGS) -c $(.PREFIX).cc
- -rm -f $(.PREFIX).cc
-