1999-05-03 02:13:37 +00:00
|
|
|
--- Makefile Tue Apr 28 01:47:35 1998
|
|
|
|
+++ /home/andy/tmp/wrk/Makefile Sat May 1 13:01:53 1999
|
|
|
|
@@ -1,8 +1,7 @@
|
1998-02-13 18:08:30 +00:00
|
|
|
-INCDIR=/usr/local/qt/include
|
1998-07-11 00:39:29 +00:00
|
|
|
-CFLAGS=-O2 -I/usr/X11/include -DSHOW_NEXT_COLORS
|
1998-02-13 18:08:30 +00:00
|
|
|
-LFLAGS=-L/usr/local/qt/lib -lqt -L/usr/X11/lib -lX11
|
1998-07-11 00:39:29 +00:00
|
|
|
-CC=gcc
|
1998-02-13 18:08:30 +00:00
|
|
|
-MOC=/usr/local/qt/bin/moc
|
1998-07-11 00:39:29 +00:00
|
|
|
+INCDIR=${X11BASE}/include/X11/qt
|
1999-05-03 02:13:37 +00:00
|
|
|
+CXXFLAGS+=-I${X11BASE}/include -DSHOW_NEXT_COLORS
|
1998-07-11 00:39:29 +00:00
|
|
|
+LFLAGS=-L${X11BASE}/lib -lqt -lX11
|
|
|
|
+MOC=${X11BASE}/bin/moc
|
1998-02-13 18:08:30 +00:00
|
|
|
|
|
|
|
SRC=lines.cpp lines.moc
|
1998-07-11 00:39:29 +00:00
|
|
|
OBJECTS=lines.o
|
1999-05-03 02:13:37 +00:00
|
|
|
@@ -14,12 +13,12 @@
|
|
|
|
.SUFFIXES: .cpp
|
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
- $(CC) -c $(CFLAGS) -I$(INCDIR) $<
|
|
|
|
+ $(CXX) -c $(CXXFLAGS) -I$(INCDIR) $<
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
$(TARGET): $(MOCFILES) $(OBJECTS) lines.h
|
|
|
|
- $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR)
|
|
|
|
+ $(CXX) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR)
|
|
|
|
|
|
|
|
lines.moc: lines.h
|
|
|
|
$(MOC) lines.h -o lines.moc
|