2000-06-04 19:10:39 +00:00
|
|
|
--- Makefile.orig Thu Jun 3 11:28:44 1999
|
|
|
|
+++ Makefile Sat Jun 3 01:28:49 2000
|
|
|
|
@@ -1,9 +1,8 @@
|
2000-01-09 08:01:00 +00:00
|
|
|
|
|
|
|
-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
|
2000-06-04 19:10:39 +00:00
|
|
|
VERSION=1.2
|
1998-02-23 19:55:07 +00:00
|
|
|
|
|
|
|
# For systems that don't have install, use this
|
2000-06-04 19:10:39 +00:00
|
|
|
@@ -28,7 +27,7 @@
|
|
|
|
INSTALL=install
|
1998-09-28 02:04:40 +00:00
|
|
|
INSTALL_BIN_FLAGS=-s
|
|
|
|
|
2000-06-04 19:10:39 +00:00
|
|
|
-INSTALL_ROOT=/usr/local
|
|
|
|
+INSTALL_ROOT=${PREFIX}
|
|
|
|
INSTALL_BIN=$(INSTALL_ROOT)/bin
|
|
|
|
INSTALL_MAN=$(INSTALL_ROOT)/man
|
|
|
|
|
|
|
|
@@ -39,19 +38,21 @@
|
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)
|
2000-06-04 19:10:39 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- $(INSTALL) $(INSTALL_BIN_FLAGS) blackjack $(INSTALL_BIN)
|
|
|
|
- $(INSTALL) blackjack.1 $(INSTALL_MAN)/man1
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} blackjack $(INSTALL_BIN)
|
|
|
|
+ ${BSD_INSTALL_MAN} blackjack.1 $(INSTALL_MAN)/man1
|
|
|
|
|
|
|
|
mblackjack.cpp: blackjack.h
|
|
|
|
$(MOC) -o mblackjack.cpp blackjack.h
|