home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_02_10 / 2n10068a < prev    next >
Text File  |  1991-07-17  |  872b  |  27 lines

  1. ## -------------------------------------------------------
  2. ##                       LISTING 3
  3. ##  File:  makefile
  4. ##
  5. ##  This is the make file to build the executable test
  6. ##  driver for the breakout tool.
  7. ##
  8. ##  Author:  David Burki
  9. ## -------------------------------------------------------
  10.  
  11. AMODEL= large                ## define the memory ...
  12. CMODEL= l                    ## model for the project
  13. LANGUAGE= C                  ## the high level language
  14. TC_LIBDIR= E:\TC\LIB         ## and the library directory(s)
  15.  
  16. testbrk.exe:    listing1.obj listing2.obj
  17.         tlink $(TC_LIBDIR)\C0$(CMODEL).obj listing2 \
  18.               listing1, testbrk.exe, nul, \
  19.               $(TC_LIBDIR)\C$(CMODEL)
  20.  
  21. listing1.obj:   listing1.asm
  22.         tasm -Dm_model=$(AMODEL) -Dlang=$(LANGUAGE) $*;
  23.  
  24. listing2.obj:    listing2.c
  25.         tcc -c -m$(CMODEL) $*.c
  26.  
  27.