home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / g / gina15.zip / sample / Makefile < prev   
Makefile  |  1992-02-27  |  1KB  |  39 lines

  1. # @(#)Makefile    1.4 11/15/91
  2. # Makefile for GINA++ sample application
  3.  
  4. # Should compile and link empty.C without modifications (GMD installation only)
  5.  
  6. # C++ compiler (installed in /usr/bin)
  7. CPLUS = CC
  8.  
  9. # compiler/linker flags
  10. CFLAGS = -c -g
  11. LDFLAGS = -g
  12.  
  13. # include file directories for GINA++, C++ and OSF/Motif
  14. GINA_INCLUDE = -I/home/baecker/gina-c++/include
  15. CC_INCLUDE = -I/usr/lang/SC1.0/include
  16. MOTIF_INCLUDE = -I/vol/motif/include
  17.  
  18. INCLUDE = $(GINA_INCLUDE) $(CC_INCLUDE) $(MOTIF_INCLUDE)
  19.  
  20. # libraries
  21. GINA_LIB = /home/baecker/gina-c++/basic/GnBasic.o /home/baecker/gina-c++/widgets/GnMotif.o /home/baecker/gina-c++/widgets/Destroy.o /home/baecker/gina-c++/src/GnFramework.o
  22.  
  23. MOTIF_LIB = -L/vol/motif/lib -lXm -lXt -lX11
  24.  
  25. LIBS = $(GINA_LIB) $(MOTIF_LIB)
  26.  
  27. empty: empty.o
  28.     $(CPLUS) $(LDFLAGS) -o empty empty.o $(LIBS)
  29.  
  30. empty.o: empty.C
  31.     $(CPLUS) $(CFLAGS) $(INCLUDE) empty.C
  32.  
  33. ibtestappl: ibtestappl.o
  34.     $(CPLUS) $(LDFLAGS) -o ibtestappl ibtestappl.o $(LIBS)
  35.  
  36. ibtestappl.o: ibtestappl.C
  37.     $(CPLUS) $(CFLAGS) $(INCLUDE) ibtestappl.C
  38.  
  39.