home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 330_02 / mspawn.tc < prev    next >
Text File  |  1990-10-12  |  779b  |  29 lines

  1. #
  2. #  --- Version 2.2 90-10-12 16:25 ---
  3. #  CTask sample applications Make-File for Borland's make.
  4. #  Application: MSPAWN.C
  5. #
  6. #    "reqopt" contains required options, and shouldn't normally be changed.
  7. #    "optopt" lists optional optimization options, and may be changed.
  8. #    "model"  is the memory model letter to use (all except Tiny & Huge).
  9. #    "lib"    is the Turbo C library path
  10. #
  11. reqopt=-c -N- -a- -u -K
  12. optopt=-d -G -O -k- -w -v -vi
  13. lib=c:\tc\lib
  14. !if !$d(model)
  15. model=l
  16. !endif
  17. ctlib=ctasktc
  18.  
  19. .c.obj:
  20.    tcc $(reqopt) $(optopt) -m$(model) $*.c
  21.  
  22. mspawn.exe:     mspawn.obj  ctsuptc$(model).lib $(ctlib).lib
  23.    tlink /m /l /v $(lib)\c0$(model) $*,$*,$*,ctsuptc$(model) $(ctlib) $(lib)\c$(model)
  24.  
  25. mspawn.obj:     mspawn.c tsk.h tskconf.h
  26.  
  27.  
  28.