home *** CD-ROM | disk | FTP | other *** search
- NAME = winmovie
- SRCS = $(NAME).c
- OBJS =
- LIBS = libw slibcew commdlg mpgmovie oldnames
- MOD = -AS -Gw
- INCLS = $(NAME).h mpgmovie.h
- RCFILES = $(NAME).rc $(NAME).h
- DDEF =
- CLOPT = -Ox
- LOPT =
- DEF =
- CC = cl -c $(MOD) $(CLOPT) -G2 -Zp -W3 $(DDEF) $(DEF)
- LINK = link /NOD /NOE $(LOPT) /ALIGN:16
- RC = rc $(DEF)
-
- .c.obj:
- $(CC) $*.c
-
- .rc.res:
- $(RC) -r $*
-
- goal: $(NAME).exe
-
- $(NAME).obj: $(NAME).c $(INCLS)
- $(CC) $*.c
-
- $(NAME).exe: $(SRCS:.c=.obj) $(NAME).def $(NAME).res $(OBJS)
- $(LINK) @<<
- $(SRCS:.c=.obj) $(OBJS),
- $(NAME).exe,
- NUL.map,
- $(LIBS),
- $(NAME).def
- <<
- $(RC) -v -k $(NAME).res
-
- clean:
- del *.obj
- del *.res
- del *.exe