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 @@
|
1999-10-08 22:52:08 +00:00
|
|
|
# "Artistic Style" Makefile
|
|
|
|
|
|
|
|
-CPPFLAGS = -O2 -W
|
2000-02-05 03:59:13 +00:00
|
|
|
+CXX?= g++
|
1999-10-08 22:52:08 +00:00
|
|
|
+CPPFLAGS = ${CXXFLAGS}
|
2000-02-05 03:59:13 +00:00
|
|
|
+CPPFLAGS ?= -O2
|
1999-10-08 22:52:08 +00:00
|
|
|
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:
|