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 >
Makefile  |  1992-02-27  |  2KB  |  81 lines

  1. # @(#)Makefile    1.3 2/26/92
  2. # Makefile for VP-Sleuth application
  3.  
  4. CPLUS = /vol/lang/CC
  5.  
  6. # compiler/linker flags
  7. DEBUG_FLAGS = -DCONTRACTS
  8. #CFLAGS = -c -O -temp=/tmp -pipe
  9. CFLAGS = -c -temp=/tmp -pipe
  10. #CFLAGS = -c -temp=/tmp -pipe
  11. LDFLAGS = -temp=/tmp -pipe
  12. #LDFLAGS = -O -temp=/tmp -pipe
  13.  
  14. # include file directories for GINA++, C++ and OSF/Motif
  15. #GINA_INCLUDE = -I/vol/gina/GINA++/1.4/include
  16. GINA_INCLUDE = -I../../include
  17. CC_INCLUDE = -I/vol/lang/SC1.0/include/CC
  18. MOTIF_INCLUDE = -I/vol/motif/include
  19.  
  20. INCLUDE = $(GINA_INCLUDE) $(CC_INCLUDE) $(MOTIF_INCLUDE)
  21.  
  22. # libraries
  23. #GINA_LIB = -L/vol/gina/GINA++/1.4/lib -lGINA_d
  24. GINA_LIB = ../../basic/GnBasic.o ../../widgets/GnMotif.o ../../widgets/Destroy.o ../../src/GnFramework.o
  25.  
  26. MOTIF_LIB = -L/vol/motif/lib -lXm -lXt -lX11
  27.  
  28. LIBS = $(GINA_LIB) $(MOTIF_LIB) -lC
  29.  
  30. SLEUTH_CLASSES_H = \
  31.   SleuthApplication.h \
  32.   SleuthDocument.h \
  33.   SleuthView.h \
  34.   PlayerView.h  \
  35.   Player.h  \
  36.   CardView.h \
  37.   SleuthMouseDownCommand.h \
  38.   ZatDialog.h \
  39.   ZatParameterDialog.h \
  40.   UpdatedDialog.h \
  41.   EnterRuleFeedback.h \
  42.   SleuthCommand.h \
  43.   Field.h \
  44.   Card.h \
  45.   ChangeFieldsCommand.h \
  46.   Axiom.h \
  47.   PlayerLocation.h \
  48.   NextRoundCommand.h
  49.  
  50. SLEUTH_CLASSES_C = \
  51.   SleuthApplication.C \
  52.   SleuthDocument.C \
  53.   SleuthView.C \
  54.   PlayerView.C  \
  55.   Player.C  \
  56.   CardView.C \
  57.   SleuthMouseDownCommand.C \
  58.   ZatDialog.C \
  59.   ZatParameterDialog.C \
  60.   UpdatedDialog.C \
  61.   EnterRuleFeedback.C \
  62.   SleuthCommand.C \
  63.   Field.C \
  64.   Card.C \
  65.   ChangeFieldsCommand.C \
  66.   Axiom.C \
  67.   PlayerLocation.C \
  68.   NextRoundCommand.C
  69.  
  70. sleuth: sleuth.o
  71.     $(CPLUS) $(DEBUG_FLAGS) $(LDFLAGS) -o sleuth sleuth.o $(LIBS)
  72.  
  73. sleuth.o: sleuth.C $(SLEUTH_CLASSES_H) $(SLEUTH_CLASSES_C) Makefile
  74.     $(CPLUS) $(DEBUG_FLAGS) $(CFLAGS) $(INCLUDE) sleuth.C
  75.  
  76. install: sleuth
  77.     mv sleuth ../../bin
  78.  
  79. clean:
  80.     rm -f *.o *~ core *..c sleuth
  81.