home *** CD-ROM | disk | FTP | other *** search
/ Computer Installation Guide - Dragon Clan Series / CD1.iso / MPEG / WFSMP11 / SDK / WINDOWS / MAKEFILE next >
Encoding:
Text File  |  1995-04-06  |  749 b   |  41 lines

  1. NAME    = winmovie
  2. SRCS    = $(NAME).c
  3. OBJS    =
  4. LIBS    = libw slibcew commdlg mpgmovie oldnames
  5. MOD     = -AS -Gw
  6. INCLS   = $(NAME).h mpgmovie.h
  7. RCFILES = $(NAME).rc $(NAME).h
  8. DDEF    =
  9. CLOPT   = -Ox
  10. LOPT    =
  11. DEF     =
  12. CC      = cl -c $(MOD) $(CLOPT) -G2 -Zp -W3 $(DDEF) $(DEF)
  13. LINK    = link /NOD /NOE $(LOPT) /ALIGN:16
  14. RC      = rc $(DEF)
  15.  
  16. .c.obj:
  17.     $(CC) $*.c
  18.  
  19. .rc.res:
  20.     $(RC) -r $*
  21.  
  22. goal: $(NAME).exe
  23.  
  24. $(NAME).obj: $(NAME).c $(INCLS)
  25.     $(CC) $*.c
  26.  
  27. $(NAME).exe: $(SRCS:.c=.obj) $(NAME).def $(NAME).res $(OBJS)
  28.     $(LINK) @<<
  29.     $(SRCS:.c=.obj) $(OBJS),
  30.     $(NAME).exe,
  31.     NUL.map,
  32.     $(LIBS),
  33.     $(NAME).def
  34. <<
  35.     $(RC) -v -k $(NAME).res
  36.  
  37. clean:
  38.     del *.obj
  39.     del *.res
  40.     del *.exe
  41.