From: nishi Date: Fri, 26 Jan 2024 01:43:03 +0000 (+0000) Subject: only the directory X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=4311c30eed1a4bd67d199fe7ed17a082e625b925;p=libw3.git only the directory git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@65 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Example/Makefile b/Example/Makefile index ef1b3d2..933a113 100644 --- a/Example/Makefile +++ b/Example/Makefile @@ -1,8 +1,6 @@ # $Id$: .PHONY: clean install -all: ./fetch - ./fetch: ./fetch.c $(RESFILE) $(CC) -o $@ -I ../Library -L ../Library $^ -lw3 diff --git a/Makefile b/Makefile index 055f308..b0c2635 100644 --- 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 > $@