2003-02-02 00:37:30 +00:00
|
|
|
--- Makefile.orig Sun Feb 2 01:23:47 2003
|
|
|
|
+++ Makefile Sun Feb 2 01:28:23 2003
|
2002-05-24 11:08:24 +00:00
|
|
|
@@ -1,8 +1,8 @@
|
|
|
|
-INCDIR=/usr/local/qt/include
|
2003-02-02 00:37:30 +00:00
|
|
|
-CFLAGS=-O2 -I/usr/X11/include
|
2002-05-24 11:08:24 +00:00
|
|
|
-LFLAGS=-L/usr/local/qt/lib -lqt -L/usr/X11/lib -lX11
|
|
|
|
-CC=gcc
|
|
|
|
-MOC=/usr/local/qt/bin/moc
|
2003-02-02 00:37:30 +00:00
|
|
|
+INCDIR=${X11BASE}/include/
|
|
|
|
+CXXFLAGS+=-I${X11BASE}/include -DSHOW_NEXT_COLORS ${PTHREAD_CFLAGS}
|
|
|
|
+LFLAGS=-L${X11BASE}/lib -lqt-mt ${PTHREAD_LIBS}
|
2002-05-24 11:08:24 +00:00
|
|
|
+CC?=gcc
|
2003-02-02 00:37:30 +00:00
|
|
|
+MOC=${X11BASE}/bin/moc
|
2002-05-24 11:08:24 +00:00
|
|
|
|
|
|
|
SRC=lines.cpp lines.moc
|
2003-02-02 00:37:30 +00:00
|
|
|
OBJECTS=lines.o
|
2002-05-24 11:08:24 +00:00
|
|
|
@@ -14,12 +14,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
|