blob: 0da0db8c2b33bdde8e49242b86e099338bfa58cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
--- Makefile.orig Sat Aug 12 03:31:54 2000
+++ Makefile Sat Sep 23 06:33:52 2000
@@ -7,13 +7,15 @@
####### Compiler, tools and options
-CC = g++
-CFLAGS = -Wall -W -O2 -fno-strength-reduce
-INCPATH = -I$(QTDIR)/include
-LINK = g++
-LFLAGS = -static
-LIBS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11
-MOC = moc
+CC ?= gcc
+CXX ?= g++
+CFLAGS ?= -Wall -W -O2 -fno-strength-reduce
+CXXFLAGS?= -Wall -W -O2 -fno-strength-reduce
+INCPATH = -I$(QTDIR)/include/qt2
+LINK = $(CXX)
+LFLAGS =
+LIBS = -L$(QTDIR)/lib -lqt2
+MOC = $(QTDIR)/bin/moc2
####### Files
@@ -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 $@ $<
|