]> Nishi Git Mirror - dataworks.git/commitdiff
generate implib
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Tue, 21 May 2024 00:07:58 +0000 (00:07 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Tue, 21 May 2024 00:07:58 +0000 (00:07 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@46 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Library/Makefile
Platforms/win32.mk
Platforms/win64.mk
common.mk

index 60a464f60ff06019b1350d06fdc81f060417d714..461eb25fa3884b3fb4e2db1cde84ab66db321528 100644 (file)
@@ -18,4 +18,4 @@ $(STATICLIB_PREFIX)dataworks$(STATICLIB_SUFFIX): $(OBJS)
        $(CC) $(CFLAGS) -DPLATFORM_M=\"$(PLATFORM_M)\" -DPLATFORM_P=\"$(PLATFORM_P)\" -fPIC -c -o $@ $<
 
 clean:
-       rm -f *.o *.so *.dll *.a
+       rm -f *.o *.so *.dll *.a *.lib
index d316dfea108cd7525384795a989ab5471ae42d8b..0c6bf5c0d7ab333d0d0e4fac0f5460b836afcc4b 100644 (file)
@@ -8,3 +8,4 @@ STATICLIB_PREFIX =
 STATICLIB_SUFFIX = .a
 PLATFORM_M = i686
 PLATFORM_P = i686
+LDFLAGS += -Wl,--out-implib,./dataworks.lib
index 81c23bdf16aab7224c9b97598c50db877fca85bd..ff52002c05ab25dbbda95e6912d11e4d064e1fdb 100644 (file)
@@ -8,3 +8,4 @@ STATICLIB_PREFIX =
 STATICLIB_SUFFIX = .a
 PLATFORM_M = x86_64
 PLATFORM_P = x86_64
+LDFLAGS += -Wl,--out-implib,./dataworks.lib
index 62b6e57844a988fef76f2adad89b292da6beca9b..9cb30015b5c7708a0e391b080a1c5f1abc2abf78 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -45,6 +45,7 @@ archive-prepare: all
        mkdir -p dataworks-dist/Document
        cp Library/*$(LIB_SUFFIX) dataworks-dist/Library/
        cp Library/*$(STATICLIB_SUFFIX) dataworks-dist/Library/
+       -cp Library/*.lib dataworks-dist/Library/
        cp Library/*.h dataworks-dist/Library/
        cp Client/dataworks$(EXEC_SUFFIX) dataworks-dist/Client/
        cp -rf Document/doc/html dataworks-dist/Document/html