1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/pp/files/patch-aa

36 lines
889 B
Plaintext
Raw Normal View History

--- Makefile Sat Apr 5 21:08:26 1997
+++ /home/andy/tmp/wrk/Makefile Sat May 1 14:30:37 1999
1998-09-28 02:17:33 +00:00
@@ -1,10 +1,13 @@
####### This section was automatically generated from
-INCDIR = $(QTDIR)/include
+INCDIR = ${X11BASE}/include/X11/qt
CFLAGS = -O2 -fno-strength-reduce -Wall -W
LIBCFLAGS = -fPIC
YACCCFLAGS = -Wno-unused -Wno-parentheses
-LFLAGS = -L$(QTDIR)/lib -lqt
+LFLAGS = -L${X11BASE}/lib -lqt
1998-09-28 02:17:33 +00:00
+.if ${PORTOBJFORMAT} == "elf"
+LFLAGS+= -Wl,-rpath,${X11BASE}/lib
+.endif
CC = gcc
MOC = moc
SHELL = /bin/sh
@@ -30,14 +33,14 @@
.SUFFIXES: .cpp
.cpp.o:
- $(CC) -c $(CFLAGS) -I$(INCDIR) $<
+ $(CXX) -c $(CFLAGS) -I$(INCDIR) $<
####### Build rules
all: $(TARGET)
$(TARGET): $(OBJECTS) $(OBJMETA)
- $(CC) $(OBJECTS) $(OBJMETA) -o $(TARGET) $(LFLAGS) -lm
+ $(CXX) $(OBJECTS) $(OBJMETA) -o $(TARGET) $(LFLAGS) -lm
depend:
@makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null