From ece4dee8e361b0dd9f44e63e43aad59613b204d0 Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 26 Jan 2024 02:04:34 +0000 Subject: [PATCH] makefile fix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@70 d27a3e52-49c5-7645-884c-6793ebffc270 --- Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f1c10c2..a7d71a0 100644 --- a/Makefile +++ b/Makefile @@ -107,10 +107,18 @@ install: ./w3.pc archive: all mkdir -p w3-$(VERSION)/Library - mkdir -p w3-$(VERSION)/Example - cp $(ALL) ./Library/*.h w3-$(VERSION)/ + mkdir -p w3-$(VERSION)/Example/W3B + mkdir -p w3-$(VERSION)/Example/fetch + cp -rf ./Library/*.h w3-$(VERSION)/Library/ ifdef WINDOWS - -cp ./Library/*.lib w3-$(VERSION)/ + cp ./Library/*.lib w3-$(VERSION)/Library/ + cp ./Library/*.dll w3-$(VERSION)/Library/ + cp ./Example/fetch/fetch.exe w3-$(VERSION)/Example/fetch/ + cp ./Example/W3B/w3b.exe w3-$(VERSION)/Example/W3B/ +else + cp ./Library/*.so w3-$(VERSION)/Library/ + cp ./Example/fetch/fetch w3-$(VERSION)/Example/fetch/ + cp ./Example/W3B/w3b w3-$(VERSION)/Example/W3B/ endif -mv w3-$(VERSION)/*.h w3-$(VERSION)/Library/ -mv w3-$(VERSION)/*.so w3-$(VERSION)/Library/ -- 2.43.0