From 11f26f7ac85cc1b1b842bea4be656f7ac0f5fc7a Mon Sep 17 00:00:00 2001 From: bje Date: Mon, 10 Aug 1998 18:34:40 +0000 Subject: 1998-08-11 Ben Elliston * Makefile (LIB): Define. (clean): Define target. (all): Build a library not just the object files. * pthread.h: Provide a definition for struct timespec if we don't already have one. * windows.c (TlsGetValue): Bug fix. --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index de64ae1..d67612a 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,16 @@ CFLAGS = -I. -DHAVE_CONFIG_H -Wall OBJS = attr.o cancel.o cleanup.o condvar.o create.o dll.o \ exit.o fork.o global.o misc.o mutex.o private.o sched.o \ - signal.o sync.o tsd.o + signal.o sync.o tsd.o windows.o INCL = implement.h pthread.h windows.h -all: $(OBJS) +LIB = libpthread32.a + +all: $(LIB) + +$(LIB): $(OBJS) + $(AR) r $(LIB) $(OBJS) + +clean: + -rm $(LIB) *.o -- cgit v1.2.3