2000-10-13 16:19:12 -04:00
|
|
|
--- Makefile.orig Sat Aug 12 03:31:54 2000
|
|
|
|
+++ Makefile Sat Sep 23 06:33:52 2000
|
|
|
|
@@ -7,13 +7,15 @@
|
1999-12-22 05:40:56 -05:00
|
|
|
|
|
|
|
####### Compiler, tools and options
|
|
|
|
|
|
|
|
-CC = g++
|
|
|
|
-CFLAGS = -Wall -W -O2 -fno-strength-reduce
|
|
|
|
-INCPATH = -I$(QTDIR)/include
|
|
|
|
-LINK = g++
|
2000-05-17 04:30:51 -04:00
|
|
|
-LFLAGS = -static
|
1999-12-22 05:40:56 -05:00
|
|
|
-LIBS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11
|
|
|
|
-MOC = moc
|
2000-10-13 16:19:12 -04:00
|
|
|
+CC ?= gcc
|
|
|
|
+CXX ?= g++
|
|
|
|
+CFLAGS ?= -Wall -W -O2 -fno-strength-reduce
|
|
|
|
+CXXFLAGS?= -Wall -W -O2 -fno-strength-reduce
|
|
|
|
+INCPATH = -I$(QTDIR)/include/qt2
|
2000-05-17 04:30:51 -04:00
|
|
|
+LINK = $(CXX)
|
|
|
|
+LFLAGS =
|
2000-10-13 16:19:12 -04:00
|
|
|
+LIBS = -L$(QTDIR)/lib -lqt2
|
|
|
|
+MOC = $(QTDIR)/bin/moc2
|
1999-12-22 05:40:56 -05:00
|
|
|
|
|
|
|
####### Files
|
|
|
|
|
2000-10-13 16:19:12 -04:00
|
|
|
@@ -351,16 +353,16 @@
|
|
|
|
.SUFFIXES: .cpp .cxx .cc .C .c
|
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
|
|
|
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
|
|
|
|
|
|
|
.cxx.o:
|
|
|
|
- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
|
|
|
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
|
|
|
|
|
|
|
.cc.o:
|
|
|
|
- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
|
|
|
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
|
|
|
|
|
|
|
.C.o:
|
|
|
|
- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
|
|
|
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
|