]> Nishi Git Mirror - libw3.git/commitdiff
fixed dependencies
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Thu, 18 Jan 2024 06:30:42 +0000 (06:30 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Thu, 18 Jan 2024 06:30:42 +0000 (06:30 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@25 d27a3e52-49c5-7645-884c-6793ebffc270

Makefile

index 24ab9a32a2ecdc278f11c3fb6bc5e9cf53627edc..2f2a1eda1cf6de8e371bbe743aa5fb443f16dd0e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ all: ./w3.pc $(ALL)
 ./Library/w3.dll:
        $(MAKE) -C ./Library CC=$(CC) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" WINDOWS=YES
 
-./Example/fetch.exe:
+./Example/fetch.exe: ./Library/w3.dll
        $(MAKE) -C ./Example CC=$(CC) fetch
 
 else
@@ -55,7 +55,7 @@ all: ./w3.pc $(ALL)
 ./Library/libw3.so:
        $(MAKE) -C ./Library CC=$(CC) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)"
 
-./Example/fetch:
+./Example/fetch: ./Library/libw3.so
        $(MAKE) -C ./Example CC=$(CC) fetch
 
 endif