2000-01-09 08:01:00 +00:00
|
|
|
--- Makefile.orig Wed Feb 11 19:42:00 1998
|
|
|
|
+++ Makefile Sat Jan 8 23:59:30 2000
|
|
|
|
@@ -1,9 +1,11 @@
|
|
|
|
|
|
|
|
-CC=gcc
|
|
|
|
-CXX=g++
|
|
|
|
-CFLAGS=
|
1998-02-23 19:55:07 +00:00
|
|
|
-INCLUDES=-I$(QTDIR)/include
|
|
|
|
-LDFLAGS=-L$(QTDIR)/lib -lqt
|
2000-01-09 08:01:00 +00:00
|
|
|
+CC?=gcc
|
|
|
|
+CXX?=g++
|
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
|
2000-01-09 08:01:00 +00:00
|
|
|
@@ -25,7 +27,7 @@
|
1998-09-28 02:04:40 +00:00
|
|
|
blackjack/*.cpp \
|
|
|
|
blackjack/*.bm
|
|
|
|
|
|
|
|
-INSTALL=install
|
|
|
|
+INSTALL=install -c
|
|
|
|
INSTALL_BIN_FLAGS=-s
|
|
|
|
|
|
|
|
INSTALL_ROOT=/usr/local
|
2000-01-09 08:01:00 +00:00
|
|
|
@@ -39,12 +41,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:
|
2000-01-09 08:01:00 +00:00
|
|
|
- $(CXX) -c $(CFLAGS) $(INCLUDES) $<
|
|
|
|
+ $(CXX) -c $(CXXFLAGS) $(INCLUDES) $<
|
1998-02-23 19:55:07 +00:00
|
|
|
+
|
|
|
|
+all: blackjack
|
|
|
|
|
|
|
|
blackjack: main.o $(OBJS)
|
|
|
|
$(CXX) -o $@ $(LDFLAGS) main.o $(OBJS)
|