1998-09-28 02:04:40 +00:00
|
|
|
--- Makefile.orig Wed Feb 11 21:42:00 1998
|
|
|
|
+++ Makefile Sun Sep 27 18:38:34 1998
|
|
|
|
@@ -2,8 +2,11 @@
|
1998-02-23 19:55:07 +00:00
|
|
|
CC=gcc
|
|
|
|
CXX=g++
|
|
|
|
CFLAGS=
|
|
|
|
-INCLUDES=-I$(QTDIR)/include
|
|
|
|
-LDFLAGS=-L$(QTDIR)/lib -lqt
|
1998-09-28 02:04:40 +00:00
|
|
|
+INCLUDES=-I$(X11BASE)/include/X11/qt
|
|
|
|
+LDFLAGS=-L$(X11BASE)/lib -lqt
|
|
|
|
+.if $(PORTOBJFORMAT) == "elf"
|
|
|
|
+LDFLAGS+=-Wl,-rpath,$(X11BASE)/lib
|
|
|
|
+.endif
|
1998-04-22 22:55:29 +00:00
|
|
|
VERSION=1.1
|
1998-02-23 19:55:07 +00:00
|
|
|
|
|
|
|
# For systems that don't have install, use this
|
1998-09-28 02:04:40 +00:00
|
|
|
@@ -25,7 +28,7 @@
|
|
|
|
blackjack/*.cpp \
|
|
|
|
blackjack/*.bm
|
|
|
|
|
|
|
|
-INSTALL=install
|
|
|
|
+INSTALL=install -c
|
|
|
|
INSTALL_BIN_FLAGS=-s
|
|
|
|
|
|
|
|
INSTALL_ROOT=/usr/local
|
|
|
|
@@ -39,12 +42,14 @@
|
1998-02-23 19:55:07 +00:00
|
|
|
user_input.o dollar_scroll_bar.o bet_option.o table_option.o \
|
|
|
|
insurance_window.o $(METAOBJS)
|
|
|
|
|
|
|
|
-MOC=$(QTDIR)/bin/moc
|
1998-09-28 02:04:40 +00:00
|
|
|
+MOC=$(X11BASE)/bin/moc
|
1998-02-23 19:55:07 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .cpp
|
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
$(CXX) -c $(CFLAGS) $(INCLUDES) $<
|
|
|
|
+
|
|
|
|
+all: blackjack
|
|
|
|
|
|
|
|
blackjack: main.o $(OBJS)
|
|
|
|
$(CXX) -o $@ $(LDFLAGS) main.o $(OBJS)
|