view nt/compface.mak @ 4619:75e7ab37b6c8

Fix query-coding-tests.el failures, non-mule ELCs, mule build. lisp/ChangeLog addition: 2009-02-17 Aidan Kehoe <kehoea@parhasard.net> * unicode.el (unicode-query-coding-region): Avoid eval-when-compile where that gives incorrect results when compiled on a non-Mule XEmacs but run on a Mule XEmacs. Fixes problems seen by 20a807210902131835o2f25930apaffabb6b62a95e5f@mail.gmail.com , thank you Vin! (An equivalent way to get the efficiency of the eval-when-compile would be to provide two defvars, evaluated at dump time, but this code will be in C soon enough, and we can use the relevant preprocessor constants there.)
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 17 Feb 2009 08:35:13 +0000
parents 1e7b510d04f6
children 03ab78e48ef6
line wrap: on
line source

#
# Compface Makefile for Microsoft NMAKE
# Based on xpm.mak
#

!if !defined(DEBUG_XEMACS)
DEBUG_XEMACS=0
!endif

!if $(DEBUG_XEMACS)
OPT=-Od -Zi
!else
OPT=-O2 -G5 -Zi
!endif

WARN_CPP_FLAGS = -W3

#MSVC uses string.h, not strings.h
DEFINES=-DSYSV32

CC=cl
CFLAGS=-nologo -DFOR_MSW $(WARN_CPP_FLAGS) $(OPT) $(INCLUDES) $(DEFINES) -Fo$@ -c

OBJS= arith.obj file.obj compress.obj gen.obj uncompface.obj

# nmake rule

.SUFFIXES:
.SUFFIXES:	.c

.c.obj:
	$(CC) $(CFLAGS) $< -Fo$@


# targets

all: libcompface.lib

libcompface.lib: $(OBJS)
	link.exe -lib -nologo -out:$@ $(OBJS)

clean: $(OBJS)
	-rm -f $(OBJS) libcompface.lib