summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 1405942..b10e358 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -49,6 +49,10 @@ LIB = libpthread32.a
all: $(LIB)
+pthread.a:
+ dlltool --def $(DLL:.dll=.def) --output-lib $@ --dllname $(DLL)
+ rename pthread.a $(LIB)
+
$(LIB): $(DLL)
dlltool --def $(DLL:.dll=.def) --output-lib $@ --dllname $(DLL)