home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / WINDOWS / TOOLS / WINLAVA / MAKEFILE < prev    next >
Text File  |  1993-12-01  |  1KB  |  69 lines

  1. #
  2. # Makefile for Lava Flow Simulator
  3. #
  4. # Sample code by Microsoft Multimedia Systems
  5. #
  6. #
  7. #     (C) Copyright Microsoft Corp. 1991.  All rights reserved.
  8. #
  9. #     You have a royalty-free right to use, modify, reproduce and 
  10. #     distribute the Sample Files (and/or any modified version) in 
  11. #     any way you find useful, provided that you agree that 
  12. #     Microsoft has no warranty obligations or liability for any 
  13. #     Sample Application Files which are modified. 
  14. #
  15.  
  16. INC=-I.
  17.  
  18. CC  = cl -c -W2 -AS -Gsw -Gh -Zip -Osa -G2 $(INC)
  19. ASM = masm -Mx -Zi $(INC)
  20. LINK= link /NOE/MAP/NOD/CO/LI
  21.  
  22. NAME= lava
  23.  
  24. OBJ  = $(NAME).obj lv.obj sqrt.obj
  25. LIBS = libw slibcaw
  26.  
  27. .c.obj:
  28.     $(CC) $*.c
  29.  
  30. .asm.obj:
  31.     $(ASM) $*;
  32.  
  33. goal: $(NAME).exe
  34.  
  35. $(NAME).exe: $(OBJ) $(NAME).res $(NAME).def
  36.         $(LINK) @<<
  37.         $(OBJ),
  38.         $(NAME),
  39.         $(NAME),
  40.         $(LIBS),
  41.         $(NAME).def
  42. <<
  43.         -cvpack -p $(NAME).exe
  44.         rc -t $(NAME).res $(NAME).exe
  45.         -mapsym $(NAME).map
  46.  
  47.  
  48. $(NAME).obj: $(NAME).c
  49.     $(CC) /FPa $*.c
  50.  
  51. $(NAME).res: $(NAME).rc
  52.         rc -r $(INC) $(NAME).rc
  53.  
  54. clean:
  55.     del $(NAME).exe
  56.         del *.res
  57.         del *.obj
  58.         del *.map
  59.     del *.sym
  60.  
  61. # START Dependencies 
  62. lava.obj: lava.c lava.h
  63.  
  64. lv.obj: lv.asm
  65.  
  66. sqrt.obj: sqrt.asm
  67.  
  68. # END Dependencies 
  69.