]> git.cameronkatri.com Git - apple_cmds.git/blob - patch_cmds/diffstat/makefile.wnt
update.sh: Add script
[apple_cmds.git] / patch_cmds / diffstat / makefile.wnt
1 #
2 # makefile for 'diffstat' on WIN32 using Microsoft Visual C++
3 #
4 # $Id: makefile.wnt,v 1.2 2009/09/01 00:33:28 tom Exp $
5 #
6 !include <ntwin32.mak>
7
8 P = porting
9
10 CFLAGS = $(cvars) $(cdebug) -nologo -G4 -W3 -I. -DWIN32 -I$P
11 LDFLAGS = -nologo -pdb:none
12
13 NAME = diffstat
14 OBJ = $(NAME).obj \
15 $P/getopt.obj \
16 $P/wildcard.obj
17
18 .c.obj:
19 $(cc) $(CFLAGS) -c $< -Fo$@
20
21 all: $(NAME).exe
22
23 $(NAME).exe: $(OBJ)
24 $(link) $(LDFLAGS) $(OBJ) setargv.obj $(ldebug) $(conlflags) $(conlibs) -out:$@ user32.lib
25
26 $(OBJ) : #system.h
27
28 install: $(NAME).exe
29 copy $(NAME).exe c:\com
30
31 clean:
32 - del $(NAME).exe
33 - del /f/s/q *.obj
34 - del /f/s/q *.bak
35 - del /f/s/q *.pdb