home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / w3_prog / mleenter.arj / MAKEFILE next >
Text File  |  1991-09-23  |  1KB  |  58 lines

  1. #   Windows EditSubclasser App
  2. #   Makefile
  3. #   Copyright (c) 1991 Microsoft Corporation. All rights reserved.
  4.  
  5. #Remove '#' from next line for "silent" operation
  6. !CMDSWITCHES +s
  7.  
  8. #Compiler and assembler flags
  9. CFLAGS=-c -FPa -Gsw -W2 -AS -Oas -Zp
  10. AFLAGS  = -MX -Z -L
  11.  
  12. #Standard definitions.
  13. DEFS=
  14.  
  15.  
  16. #Files on which every C file depends.  Add others as appropriate
  17. INCLS=mleenter.h
  18.  
  19. .SUFFIXES: .h .c .asm .obj .exe .cxx .res .rc .bas
  20.  
  21. goal:  mleenter.exe
  22.  
  23.  
  24. OBJS   =mleenter.obj
  25. RCFILES=mleenter.dlg mleenter.ico
  26.  
  27. #####
  28.  
  29. .c.obj:
  30.     echo ++++++++++
  31.     echo Compiling $*.c
  32.     cl $(CFLAGS) $(DEFS) $*.c
  33.  
  34.  
  35. .asm.obj:
  36.     echo +++++++++
  37.     echo ASSEMBLING $*.asm
  38.     masm $(AFLAGS) $(DEFS) $*.asm
  39.  
  40.  
  41. .rc.res:
  42.     echo +++++++++
  43.     echo Compiling Resources
  44.     rc -r $*.rc
  45.  
  46.  
  47. mleenter.exe : $(OBJS) mleenter.res
  48.     link @mleenter.lnk
  49.     rc mleenter.res
  50.  
  51.  
  52.  
  53.  
  54. ##### Dependencies #####
  55.  
  56. mleenter.obj : mleenter.c    $(INCLS)
  57. mleenter.res : mleenter.rc   $(INCLS) $(RCFILES)
  58.