home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / SASC6571.LZX / examples / cxxsharedlib / smakefile < prev   
Encoding:
Makefile  |  1996-12-24  |  628 b   |  28 lines

  1. #
  2. # Makefile automatically generated by MKMK V6.50 on Jul 29 1993 at 01:35:51
  3. #
  4.  
  5. LIBOBJS= cxxsharedlib.o
  6. TSTOBJS= cxxsltest.o
  7.  
  8. all: foo.library cxxsltest
  9.  
  10. foo.library: $(LIBOBJS)
  11.    sc link startup=libinitr to foo.library $(LIBOBJS)
  12.    copy foo.library libs:
  13.    avail >nil: flush # Get rid of old version of library
  14.  
  15. cxxsltest: $(TSTOBJS)
  16.    sc link to cxxsltest with <<
  17. $(TSTOBJS)
  18. <
  19.  
  20. cxxsharedlib.o: cxxsharedlib.cpp cxxsharedlib.h
  21.    sc cxxsharedlib.cpp libcode
  22.  
  23. cxxsltest.o: cxxsltest.cpp cxxsharedlib.h
  24.    sc cxxsltest.cpp nolibcode
  25.  
  26. clean:
  27.    delete \#?.o \#?.map \#?.lnk \#?.library libs:foo.library cxxsltest quiet force
  28.