1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/games/nethack-qt/files/src-Makefile.diff

40 lines
1.3 KiB
Diff
Raw Normal View History

--- 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