1999-11-26 21:21:34 +00:00
|
|
|
--- Makefile.orig Fri Nov 26 13:11:08 1999
|
|
|
|
+++ Makefile Fri Nov 26 13:11:11 1999
|
|
|
|
@@ -1,16 +1,17 @@
|
|
|
|
-INCLUDE = -I. -I$(QTDIR)/include -I$(HOME)/include -I./icons
|
1999-08-18 01:01:45 +00:00
|
|
|
-DESTLIB = $(HOME)/lib # where to put library
|
|
|
|
-LIB = -L/usr/X11R6/lib -L$(QTDIR)/lib -L$(DESTLIB)
|
1999-11-26 21:21:34 +00:00
|
|
|
-
|
|
|
|
-MOC = $(QTDIR)/bin/moc
|
1999-08-18 01:01:45 +00:00
|
|
|
-CC = g++
|
|
|
|
-C = gcc
|
1999-11-26 21:21:34 +00:00
|
|
|
+QTDIR= ${X11BASE}
|
|
|
|
+INCLUDE = -I. -I$(QTDIR)/include -I$(QTDIR)/include/qt2 -I$(HOME)/include -I./icons
|
|
|
|
+DESTLIB = ${PREFIX}/lib
|
|
|
|
+LIB = -L${X11BASE}/lib -L${LOCALBASE}/lib -L$(QTDIR)/lib -L$(DESTLIB) -L.
|
|
|
|
+
|
|
|
|
+MOC = $(QTDIR)/bin/moc2
|
|
|
|
+#CC = g++
|
|
|
|
+#C = gcc
|
1999-08-18 01:01:45 +00:00
|
|
|
AR = ar
|
|
|
|
M = moc_
|
1999-11-26 21:21:34 +00:00
|
|
|
RM = rm -f
|
|
|
|
KDOC = kdoc -H -d doc -e
|
1999-08-18 01:01:45 +00:00
|
|
|
|
|
|
|
-OPTIONS = -g -ansi -fguiding-decls
|
1999-08-26 00:55:17 +00:00
|
|
|
+OPTIONS = ${CFLAGS} -fguiding-decls -DFINEDIR=\""${PREFIX}/share/fine\""
|
1999-08-18 01:01:45 +00:00
|
|
|
|
|
|
|
OBJ = qsmartedit.o qcolormultilinedit.o undoredo.o qeditor.o qfontselect.o qcolordialog.o qcolorlistboxitem.o qkeyworddialog.o qhotkeydialog.o
|
|
|
|
METAOBJ = qsmartedit.mo qcolormultilinedit.mo qeditor.mo qfontselect.mo qcolordialog.mo qkeyworddialog.mo qhotkeydialog.mo
|
1999-11-26 21:21:34 +00:00
|
|
|
@@ -35,14 +36,13 @@
|
1999-08-18 01:01:45 +00:00
|
|
|
|
|
|
|
$(TARGET): $(OBJ) $(METAOBJ)
|
|
|
|
$(AR) r $(TARGET) $(OBJ) $(METAOBJ)
|
|
|
|
- mv $(TARGET) $(DESTLIB)
|
|
|
|
|
|
|
|
%.o: %.C
|
|
|
|
- $(CC) -c $(OPTIONS) $(INCLUDE) $<
|
|
|
|
+ $(CXX) -c $(OPTIONS) $(INCLUDE) $<
|
|
|
|
|
|
|
|
%.mo: %.h
|
1999-11-26 21:21:34 +00:00
|
|
|
$(MOC) $< -o $(subst .h,.C,$(M)$<)
|
|
|
|
- $(CC) -c $(OPTIONS) $(INCLUDE) $(subst .h,.C,$(M)$<) -o $(subst .h,.mo,$<)
|
|
|
|
+ $(CXX) -c $(OPTIONS) $(INCLUDE) $(subst .h,.C,$(M)$<) -o $(subst .h,.mo,$<)
|
1999-08-18 01:01:45 +00:00
|
|
|
|
|
|
|
fine: fine.o fine.mo
|
|
|
|
- $(CC) -g -ofine fine.o fine.mo $(OPTIONS) $(LIB) -lFine -lqt -lX11 -lXext
|
1999-11-26 21:21:34 +00:00
|
|
|
+ $(CXX) -ofine fine.o fine.mo $(OPTIONS) $(LIB) -lFine -lqt2 -lX11 -lXext
|