File: makefile.wnt

package info (click to toggle)
diffstat 1.62-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,028 kB
  • sloc: sh: 3,129; ansic: 2,587; makefile: 170
file content (35 lines) | stat: -rw-r--r-- 650 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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