home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
g
/
gina15.zip
/
demos
/
sleuth
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-02-27
|
2KB
|
81 lines
# @(#)Makefile 1.3 2/26/92
# Makefile for VP-Sleuth application
CPLUS = /vol/lang/CC
# compiler/linker flags
DEBUG_FLAGS = -DCONTRACTS
#CFLAGS = -c -O -temp=/tmp -pipe
CFLAGS = -c -temp=/tmp -pipe
#CFLAGS = -c -temp=/tmp -pipe
LDFLAGS = -temp=/tmp -pipe
#LDFLAGS = -O -temp=/tmp -pipe
# include file directories for GINA++, C++ and OSF/Motif
#GINA_INCLUDE = -I/vol/gina/GINA++/1.4/include
GINA_INCLUDE = -I../../include
CC_INCLUDE = -I/vol/lang/SC1.0/include/CC
MOTIF_INCLUDE = -I/vol/motif/include
INCLUDE = $(GINA_INCLUDE) $(CC_INCLUDE) $(MOTIF_INCLUDE)
# libraries
#GINA_LIB = -L/vol/gina/GINA++/1.4/lib -lGINA_d
GINA_LIB = ../../basic/GnBasic.o ../../widgets/GnMotif.o ../../widgets/Destroy.o ../../src/GnFramework.o
MOTIF_LIB = -L/vol/motif/lib -lXm -lXt -lX11
LIBS = $(GINA_LIB) $(MOTIF_LIB) -lC
SLEUTH_CLASSES_H = \
SleuthApplication.h \
SleuthDocument.h \
SleuthView.h \
PlayerView.h \
Player.h \
CardView.h \
SleuthMouseDownCommand.h \
ZatDialog.h \
ZatParameterDialog.h \
UpdatedDialog.h \
EnterRuleFeedback.h \
SleuthCommand.h \
Field.h \
Card.h \
ChangeFieldsCommand.h \
Axiom.h \
PlayerLocation.h \
NextRoundCommand.h
SLEUTH_CLASSES_C = \
SleuthApplication.C \
SleuthDocument.C \
SleuthView.C \
PlayerView.C \
Player.C \
CardView.C \
SleuthMouseDownCommand.C \
ZatDialog.C \
ZatParameterDialog.C \
UpdatedDialog.C \
EnterRuleFeedback.C \
SleuthCommand.C \
Field.C \
Card.C \
ChangeFieldsCommand.C \
Axiom.C \
PlayerLocation.C \
NextRoundCommand.C
sleuth: sleuth.o
$(CPLUS) $(DEBUG_FLAGS) $(LDFLAGS) -o sleuth sleuth.o $(LIBS)
sleuth.o: sleuth.C $(SLEUTH_CLASSES_H) $(SLEUTH_CLASSES_C) Makefile
$(CPLUS) $(DEBUG_FLAGS) $(CFLAGS) $(INCLUDE) sleuth.C
install: sleuth
mv sleuth ../../bin
clean:
rm -f *.o *~ core *..c sleuth