summaryrefslogtreecommitdiffstats
path: root/cad/qcad/files/patch-aa
blob: 70da0384b931967065751cd46670c05b7ff828e1 (plain)
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
--- Makefile.orig	Mon May 27 00:08:53 2002
+++ Makefile	Thu May 30 02:58:38 2002
@@ -7,16 +7,16 @@
 
 ####### Compiler, tools and options
 
-CC	=	gcc
-CXX	=	g++
-CFLAGS	=	-pipe -Wall -W -O2 -DNO_DEBUG
-CXXFLAGS=	-pipe -Wall -W -O2 -DNO_DEBUG
-INCPATH	=	-I$(QTDIR)/include
-LINK	=	g++
-LFLAGS	=	-static
-LIBS	=	$(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
-MOC	=	$(QTDIR)/bin/moc
-UIC	=	$(QTDIR)/bin/uic
+CC	?=	gcc
+CXX	?=	g++
+CFLAGS	+=	-DNO_DEBUG
+CXXFLAGS+=	-DNO_DEBUG
+INCPATH	=	${QTCPPFLAGS}
+LINK	=	${CXX}
+LFLAGS	=	
+LIBS	=	${QTCFGLIBS} ${LIBQT}
+MOC	?=	${X11BASE}/bin/moc2
+UIC	?=	${X11BASE}/bin/uic
 
 TAR	=	tar -cf
 GZIP	=	gzip -9f
OpenPOWER on IntegriCloud