1 # 2 # makefile for 'c_count' on WIN32 using Microsoft Visual C++ 3 # 4 # $Id: makefile.wnt,v 1.1 2001/02/27 19:19:16 dickey Exp $ 5 # 6 !include <ntwin32.mak> 7 8 CFLAGS = $(cvars) $(cdebug) -nologo -G4 -W3 -I. 9 LDFLAGS = -nologo -pdb:none 10 11 P = porting 12 13 NAME = c_count 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