mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
22 lines
457 B
Plaintext
22 lines
457 B
Plaintext
--- 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:
|