summaryrefslogtreecommitdiff
path: root/pith/charconv/makefile.wnt
blob: 3e3e2d8b9a94353c827ca5d79b9f7b9b20b49e3f (plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# $Id: makefile.wnt 14098 2005-10-03 18:54:13Z jpf@u.washington.edu $
#
# ========================================================================
# Copyright 2013-2021 Eduardo Chappa
# Copyright 2006 University of Washington
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# ========================================================================

#
#
# Makefile for WIN NT version of libpithcc.lib
#
#
CC=cl
RM=del
CP=copy 
RC=rc

#includes symbol info for debugging 
CDEBUG= #-Zi -Od
LDEBUG= /DEBUG /DEBUGTYPE:CV

STDCFLAGS= -I..\..\include -I../../regex -nologo -MT -DWIN32 -DDOS -D_WINDOWS -DJOB_CONTROL -DMSC_MALLOC

CFLAGS=	$(CDEBUG) $(STDCFLAGS) $(NET) $(EXTRACFLAGS)

LFLAGS= $(LDEBUG) $(EXTRALDFLAGS)

RCFLAGS =

# switches for library building
LIBER=lib
LIBARGS=/nologo /verbose

HFILES=	../../include/system.h ../../include/general.h \
	filesys.h utf8.h

OFILES=	filesys.obj utf8.obj

all:		libpithcc.lib

.c.obj:
	$(CC) -c $(CFLAGS) "$(MAKEDIR)"\$*.c

$(OFILES):	$(HFILES)

libpithcc.lib:	$(OFILES)
		$(RM) libpithcc.lib || rem
		$(LIBER) /out:libpithcc.lib $(OFILES)

clean:
	$(RM) *.lib
	$(RM) *.obj
	$(RM) *.pdb