annotate nt/xpm.mak @ 392:1f50e6fe4f3f r21-2-11

Import from CVS: tag r21-2-11
author cvs
date Mon, 13 Aug 2007 11:10:50 +0200
parents 6330739388db
children 74fd4e045ea6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
1 #
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
2 # XPM Makefile for Microsoft NMAKE without X libraries
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
3 #
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
4
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
5 !if !defined(DEBUG_XEMACS)
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
6 DEBUG_XEMACS=0
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
7 !endif
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
8
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
9 !if $(DEBUG_XEMACS)
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
10 OPT=-Od -Zi
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
11 !else
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
12 OPT=-O2 -G5 -Zi
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
13 !endif
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
14
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
15 WARN_CPP_FLAGS = -W3
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
16
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
17 CC=cl
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
18 CFLAGS=-nologo -DFOR_MSW $(WARN_CPP_FLAGS) $(OPT) $(INCLUDES) -Fo$@ -c
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
19
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
20 OBJS= data.obj create.obj misc.obj rgb.obj scan.obj parse.obj hashtab.obj \
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
21 WrFFrI.obj RdFToI.obj CrIFrDat.obj CrDatFrI.obj \
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
22 CrIFrBuf.obj CrBufFrI.obj \
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
23 RdFToDat.obj WrFFrDat.obj \
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
24 Attrib.obj Image.obj Info.obj RdFToBuf.obj WrFFrBuf.obj \
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
25 simx.obj
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
26
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
27 # nmake rule
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
28
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
29 .SUFFIXES:
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
30 .SUFFIXES: .c
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
31
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
32 .c.obj:
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
33 $(CC) $(CFLAGS) $< -Fo$@
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
34
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
35
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
36 # targets
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
37
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
38 all: ..\X11\xpm.h Xpm.lib
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
39
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
40 ..\X11\xpm.h: ..\X11\NUL xpm.h
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
41 copy xpm.h ..\X11
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
42
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
43 ..\X11\NUL:
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
44 mkdir ..\X11
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
45
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
46 Xpm.lib: $(OBJS)
6330739388db Import from CVS: tag r21-0b36
cvs
parents:
diff changeset
47 link.exe -lib -nologo -out:$@ $(OBJS)