home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / prof_c / 11screen / st.mk < prev    next >
Encoding:
Text File  |  1988-08-11  |  582 b   |  23 lines

  1. # makefile for ScreenTest (ST) program
  2.  
  3. LINC = c:\include\local
  4. LLIB = c:\lib\local
  5.  
  6. # --- memory model information ---
  7. # edit the MODEL line to choose the desired memory model
  8. # [C=compact, L=large (and huge), M=medium, S=small) 
  9. MODEL = S    # small model
  10.  
  11. LIBS = $(LLIB)\$(MODEL)bios.lib $(LLIB)\$(MODEL)dos.lib
  12.  
  13. # --- compile sources ---
  14. swap_int.obj:    swap_int.c
  15.  
  16. cpblk.obj:    cpblk.c
  17.  
  18. st.obj:        st.c $(LINC)\std.h $(LINC)\video.h
  19.  
  20. # --- create the executable program ---
  21. st.exe:        st.obj swap_int.obj cpblk.obj $(LIBS)
  22.     link $* swap_int cpblk, $*, nul, $(LIBS);
  23.