summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/cc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/cc/Makefile')
-rw-r--r--gnu/usr.bin/cc/cc/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc/Makefile b/gnu/usr.bin/cc/cc/Makefile
new file mode 100644
index 0000000..c6f0112
--- /dev/null
+++ b/gnu/usr.bin/cc/cc/Makefile
@@ -0,0 +1,18 @@
+#
+# $FreeBSD$
+#
+
+PROG = cc
+SRCS = gcc.c
+BINDIR= /usr/bin
+MLINKS+=cc.1 gcc.1
+MLINKS+=cc.1 c++.1
+MLINKS+=cc.1 g++.1
+LDDESTDIR+= -L${.CURDIR}/../cc_int/obj
+LDDESTDIR+= -L${.CURDIR}/../cc_int
+LDADD+= -lcc_int
+
+afterinstall:
+ cd $(DESTDIR)$(BINDIR) ; rm gcc ; ln -s cc gcc
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud