home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Science / Science.zip / sfit110.zip / DEMO / MAKEDLL < prev    next >
Text File  |  1994-10-18  |  910b  |  38 lines

  1. .AUTODEPEND
  2.  
  3. #   Common definitions for the Borland C++ compiler
  4. #===================================================================
  5.  
  6. .SUFFIXES:
  7. .SUFFIXES: .rc .res .obj .c .asm .hlp .itl .ipf
  8.  
  9. # GLOBAL CONFIG FOR EVERYTHING in the subdirectories
  10. #===================================================================
  11.  
  12. STARTUP = \bcos2\lib\c02.obj
  13. STARTUPDLL = \bcos2\lib\c02d.obj
  14. LIB = \bcos2\lib
  15. INCLUDE = \bcos2\include
  16.  
  17. #===================================================================
  18. #
  19. # Compile switchs  that are enabled
  20. # -c      compile don't link
  21. # -v      debug info
  22. # -sm     multi threaded
  23.  
  24. CFLAGS  = -c -v -sm
  25.  
  26. LFLAGS  = -c -x -v  
  27. LINKDLL = tlink $(LFLAGS) -L$(LIB) $(STARTUPDLL)
  28.  
  29. DLLLIBS = c2mt + os2
  30.  
  31. OBJECTS = test.obj
  32.  
  33. test.dll : $(OBJECTS)  custfunc.def
  34.     $(LINKDLL) $(OBJECTS),test,,$(DLLLIBS),custfunc.def;
  35.  
  36. test.obj : test.c
  37.    bcc $(CFLAGS) test.c
  38.