Commit 16b2504b by Richard Kenner

(../cc1plus): Use $(exeext) in name of executable.

From-SVN: r9768
parent 251580ee
# Makefile for GNU C++ compiler.
# Copyright (C) 1987, 88, 90, 91, 92, 93, 1994 Free Software Foundation, Inc.
# Copyright (C) 1987, 88, 90-4, 1995 Free Software Foundation, Inc.
#This file is part of GNU CC.
......@@ -167,8 +167,8 @@ OBJDEPS = ../stamp-objlist ../c-common.o ../c-pragma.o
compiler: ../cc1plus
../cc1plus: $(P) $(CXX_OBJS) $(OBJDEPS) $(LIBDEPS)
rm -f ../cc1plus
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o ../cc1plus \
rm -f ../cc1plus$(exeext)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \
$(CXX_OBJS) $(OBJS) $(LIBS)
Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment