summaryrefslogtreecommitdiff
path: root/games/nethack33-qt/files/src-Makefile.diff
blob: f43c85bacc75afadbb069229dc120f906ff19eb1 (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
--- src/Makefile.orig	Sat Apr  5 19:43:25 1997
+++ src/Makefile	Sat Apr  5 19:51:26 1997
@@ -124,11 +124,11 @@
 # flags for debugging:
 # CFLAGS = -g -I../include
 
-CFLAGS = -O2 -I../include
-LFLAGS = -L/usr/X11/lib -L$(QTDIR)/lib
+CFLAGS = -pipe -O -I../include
+LFLAGS = -L/usr/X11R6/lib -L$(QTDIR)/lib
 
 # For USER_SOUNDS support, include -I/usr/X11/include
-CXXFLAGS = $(CFLAGS) -I. -I$(QTDIR)/include -I/usr/X11/include
+CXXFLAGS = $(CFLAGS) -I. -I/usr/X11R6/include -I/usr/X11R6/include/X11/qt
 
 # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired
 # combination of windowing systems.  Also set windowing systems in config.h.
@@ -213,7 +213,7 @@
 # IRIX 4.0.x needs -lsun if NIS (YP) is being used for passwd file lookup
 # LIBS = -lsun
 #
-LIBS =
+LIBS = -lgnuregex
 
 # make NetHack
 GAME     = nethack
@@ -536,6 +536,12 @@
 
 # DO NOT DELETE THIS LINE
 
+qaudio-p.moc: ../win/Qt/qaudio-p.h
+	moc ../win/Qt/qaudio-p.h > qaudio-p.moc
+qaudio-p.o: ../win/Qt/qaudio-p.cc qaudio-p.moc
+	$(CXX) $(CXXFLAGS) -c ../win/Qt/qaudio-p.cc
+qaudio.o: ../win/Qt/qaudio.cc
+	$(CXX) $(CXXFLAGS) -c ../win/Qt/qaudio.cc
 qt_win.o: ../win/Qt/qt_win.cc  ../include/hack.h ../include/qt_win.h ../include/cluster.h qt_win.moc
 	$(CXX) $(CXXFLAGS) -c ../win/Qt/qt_win.cc
 qviewp.o: ../win/Qt/qviewp.cc  ../include/qviewp.h qviewp.moc