1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Respect CXX and set a default CXXFLAGS

This commit is contained in:
Kris Kennaway 2000-02-05 03:59:13 +00:00
parent 673a54499a
commit 842a5fe7a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25490

View File

@ -1,10 +1,21 @@
--- Makefile.orig Sat Sep 25 10:29:04 1999
+++ Makefile Sun Oct 3 15:19:42 1999
@@ -1,6 +1,6 @@
--- Makefile.orig Sat Sep 25 08:29:04 1999
+++ Makefile Fri Feb 4 19:58:09 2000
@@ -1,13 +1,15 @@
# "Artistic Style" Makefile
-CPPFLAGS = -O2 -W
+CXX?= g++
+CPPFLAGS = ${CXXFLAGS}
+CPPFLAGS ?= -O2
OBJS = ASResource.o ASBeautifier.o ASFormatter.o astyle_main.o
astyle: $(OBJS)
- g++ $(CPPFLAGS) -o astyle $(OBJS)
+ $(CXX) $(CPPFLAGS) -o astyle $(OBJS)
.cpp.o:
- g++ $(CPPFLAGS) -c $<
+ $(CXX) $(CPPFLAGS) -c $<
.SUFFIXES: .cpp .c .o
clean: