1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/devel/astyle/files/patch-ad

22 lines
457 B
Plaintext
Raw Normal View History

2000-02-05 03:59:13 +00:00
--- 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
2000-02-05 03:59:13 +00:00
+CXX?= g++
+CPPFLAGS = ${CXXFLAGS}
2000-02-05 03:59:13 +00:00
+CPPFLAGS ?= -O2
OBJS = ASResource.o ASBeautifier.o ASFormatter.o astyle_main.o
astyle: $(OBJS)
2000-02-05 03:59:13 +00:00
- g++ $(CPPFLAGS) -o astyle $(OBJS)
+ $(CXX) $(CPPFLAGS) -o astyle $(OBJS)
.cpp.o:
- g++ $(CPPFLAGS) -c $<
+ $(CXX) $(CPPFLAGS) -c $<
.SUFFIXES: .cpp .c .o
clean: