annotate nt/compface.mak @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents 1e7b510d04f6
children 03ab78e48ef6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
394
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
1 #
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
2 # Compface Makefile for Microsoft NMAKE
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
3 # Based on xpm.mak
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
4 #
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
5
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
6 !if !defined(DEBUG_XEMACS)
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
7 DEBUG_XEMACS=0
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
8 !endif
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
9
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
10 !if $(DEBUG_XEMACS)
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
11 OPT=-Od -Zi
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
12 !else
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
13 OPT=-O2 -G5 -Zi
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
14 !endif
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
15
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
16 WARN_CPP_FLAGS = -W3
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
17
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
18 #MSVC uses string.h, not strings.h
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
19 DEFINES=-DSYSV32
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
20
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
21 CC=cl
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
22 CFLAGS=-nologo -DFOR_MSW $(WARN_CPP_FLAGS) $(OPT) $(INCLUDES) $(DEFINES) -Fo$@ -c
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
23
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
24 OBJS= arith.obj file.obj compress.obj gen.obj uncompface.obj
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
25
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
26 # nmake rule
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
27
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
28 .SUFFIXES:
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
29 .SUFFIXES: .c
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
30
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
31 .c.obj:
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
32 $(CC) $(CFLAGS) $< -Fo$@
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
33
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
34
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
35 # targets
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
36
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
37 all: libcompface.lib
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
38
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
39 libcompface.lib: $(OBJS)
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents:
diff changeset
40 link.exe -lib -nologo -out:$@ $(OBJS)
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 394
diff changeset
41
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 394
diff changeset
42 clean: $(OBJS)
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 394
diff changeset
43 -rm -f $(OBJS) libcompface.lib