public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: Erik Hensema <erik.hensema@group2000.nl>
To: 'Pthreads-win32' <pthreads-win32@sourceware.cygnus.com>
Subject: Makefile for Microsoft nmake
Date: Mon, 08 Nov 1999 04:08:00 -0000	[thread overview]
Message-ID: <A01E735D4940D311A3850090275559330BA999@NTSRV02> (raw)

Hi,

I've created this makefile for use with nmake. It can be used as a
replacement for buildlib.bat. I've changed the target from an ordinary dll
(/LD) to a debugging dll (/LDd).
The variables $DLLDEST and $LIBDEST hold the destination directories for the
dll and the lib, respectively.

You might want to rename the original Makefile to GNUmakefile, since this is
the first Makefile gmake lookes for. nmake only looks for Makefile.

OBJ=attr.obj \
	cancel.obj \
	cleanup.obj \
	condvar.obj \
	create.obj \
	dll.obj \
	errno.obj \
	exit.obj \
	fork.obj \
	global.obj \
	misc.obj \
	mutex.obj \
	private.obj \
	rwlock.obj \
	sched.obj \
	semaphore.obj \
	signal.obj \
	sync.obj \
	tsd.obj

DLLDEST=e:\dll
LIBDEST=e:\lib

all: pthread.dll

clean:
	del pthread.dll \
		pthread.lib \
		*.obj

install: all
	copy pthread.dll $(DLLDEST)
	copy pthread.lib $(LIBDEST)

pthread.dll: $(OBJ) pthread.def
	cl /LDd /Zi *.obj /Fepthread.dll \
		pthread.def \
		/link /nodefaultlib:libcmt \
		msvcrt.lib 

.c.obj::
	cl /W3 /MT /nologo /Yd /Zi /I. \
		/D_WIN32_WINNT=0x400 \
		/DSTDCALL=_stdcall \
		-c $<

$(OBJ):


-- 
Erik Hensema
Work: erik.hensema@group2000.nl
Home: erik@hensema.xs4all.nl

                 reply	other threads:[~1999-11-08  4:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A01E735D4940D311A3850090275559330BA999@NTSRV02 \
    --to=erik.hensema@group2000.nl \
    --cc=pthreads-win32@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).