NetBSD/gnu/usr.bin/gcc2/cc/Makefile

21 lines
676 B
Makefile
Raw Normal View History

1993-07-09 17:11:49 +04:00
# @(#)Makefile 6.2 (Berkeley) 3/25/91
PROG= cc
1993-07-09 17:11:49 +04:00
SRCS= gcc.c version.c obstack.c
MAN1= gcc.0 g++.0
1993-07-09 17:11:49 +04:00
BINDIR= /usr/bin
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../common \
-I$(.CURDIR)/.. -I$(.CURDIR)/../$(MACHINE)
LINKS+= ${DESTDIR}${BINDIR}/cc ${DESTDIR}${BINDIR}/gcc
MLINKS= gcc.1 cc.1 g++.1 c++.1
1993-07-09 17:11:49 +04:00
.PATH: $(.CURDIR)/../common
afterinstall:
install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
$(.CURDIR)/g++.script $(DESTDIR)$(BINDIR)/g++
@/bin/rm -rf ${DESTDIR}${BINDIR}/c++
@ln ${DESTDIR}${BINDIR}/g++ ${DESTDIR}${BINDIR}/c++
@echo ${DESTDIR}${BINDIR}/g++ -\> ${DESTDIR}${BINDIR}/c++
1993-07-09 17:11:49 +04:00
.include <bsd.prog.mk>