]> Nishi Git Mirror - libw3.git/commitdiff
only the directory
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Fri, 26 Jan 2024 01:43:03 +0000 (01:43 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Fri, 26 Jan 2024 01:43:03 +0000 (01:43 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@65 d27a3e52-49c5-7645-884c-6793ebffc270

Example/Makefile
Makefile

index ef1b3d282ac79b35d2d7710497ef3088829f8f5e..933a11347cb8e82039a0527a1371bf072846ee61 100644 (file)
@@ -1,8 +1,6 @@
 # $Id$:
 .PHONY: clean install
 
-all: ./fetch
-
 ./fetch: ./fetch.c $(RESFILE)
        $(CC) -o $@ -I ../Library -L ../Library $^ -lw3
 
index 055f3083fb764aa907d9ddabe07efcfd77780476..b0c263574c3061411a6c2cc15d553d972282fcbb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,8 @@ all: ./w3.pc ./Library/W3Version.h $(ALL)
        $(MAKE) -C ./Library CC=$(CC) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" WINDOWS=YES
 
 ./Example: ./Library/w3.dll
-       $(MAKE) -C ./Example CC=$(CC) fetch.exe RESFILE=./libw3.res WINDRES=$(WINDRES) WINDOWS=YES
+       $(MAKE) -C ./Example CC=$(CC) RESFILE=./libw3.res WINDRES=$(WINDRES) WINDOWS=YES
+       $(MAKE) -C ./Example/W3B CC=$(CC) RESFILE=./libw3.res WINDRES=$(WINDRES) WINDOWS=YES
 
 ./Library/W3Version.h:
        m4 -DSUFFIX=\"W\" ./W3Version.h.p > $@
@@ -71,7 +72,8 @@ all: ./w3.pc ./Library/W3Version.h $(ALL)
        $(MAKE) -C ./Library CC=$(CC) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" ./libw3.a
 
 ./Example: ./Library/libw3.so
-       $(MAKE) -C ./Example CC=$(CC) fetch
+       $(MAKE) -C ./Example CC=$(CC)
+       $(MAKE) -C ./Example/W3B CC=$(CC) RESFILE=./libw3.res WINDRES=$(WINDRES) WINDOWS=YES
 
 ./Library/W3Version.h:
        m4 -DSUFFIX=\"\" ./W3Version.h.p > $@