diff options
Diffstat (limited to 'patch_cmds/diffstat/makefile.wnt')
-rw-r--r-- | patch_cmds/diffstat/makefile.wnt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/patch_cmds/diffstat/makefile.wnt b/patch_cmds/diffstat/makefile.wnt new file mode 100644 index 0000000..7fde72e --- /dev/null +++ b/patch_cmds/diffstat/makefile.wnt @@ -0,0 +1,35 @@ +# +# makefile for 'diffstat' on WIN32 using Microsoft Visual C++ +# +# $Id: makefile.wnt,v 1.2 2009/09/01 00:33:28 tom Exp $ +# +!include <ntwin32.mak> + +P = porting + +CFLAGS = $(cvars) $(cdebug) -nologo -G4 -W3 -I. -DWIN32 -I$P +LDFLAGS = -nologo -pdb:none + +NAME = diffstat +OBJ = $(NAME).obj \ + $P/getopt.obj \ + $P/wildcard.obj + +.c.obj: + $(cc) $(CFLAGS) -c $< -Fo$@ + +all: $(NAME).exe + +$(NAME).exe: $(OBJ) + $(link) $(LDFLAGS) $(OBJ) setargv.obj $(ldebug) $(conlflags) $(conlibs) -out:$@ user32.lib + +$(OBJ) : #system.h + +install: $(NAME).exe + copy $(NAME).exe c:\com + +clean: + - del $(NAME).exe + - del /f/s/q *.obj + - del /f/s/q *.bak + - del /f/s/q *.pdb |