view nt/minitar.mak @ 494:4137b1fb7b90

[xemacs-hg @ 2001-05-01 07:23:47 by ben] * xemacs.mak (DEPEND): Don't add config.inc to the horked depend file. It's not recognized by nmake and just results in warnings. * xemacs.mak (docfile): Don't use $(DEL) in the middle of a shell command, because it will try to call `-del' and fail.
author ben
date Tue, 01 May 2001 07:23:47 +0000
parents 74fd4e045ea6
children 697ef44129c6
line wrap: on
line source

ZLIB=\path\to\zlib
LIB_SRC=.
NT=.

all: $(LIB_SRC)\minitar.exe

$(LIB_SRC)\minitar.exe: $(LIB_SRC)\minitar.obj
	cl -o $@ $(LIB_SRC)\minitar.obj $(ZLIB)\zlib.lib

$(LIB_SRC)\minitar.obj: $(NT)\minitar.c
	cl -Fo$@ -c $(NT)\minitar.c -I $(ZLIB)