summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
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