diff --git a/samples/sockets/makefile.b32 b/samples/sockets/makefile.b32 index b9aac16acc..f5d79cec0c 100644 --- a/samples/sockets/makefile.b32 +++ b/samples/sockets/makefile.b32 @@ -7,9 +7,17 @@ # # Makefile : Builds sample for 32-bit BC++ +!if "$(WXUSINGDLL)" == "" +WXUSINGDLL=0 +!endif + +!if "$(FINAL)" == "" +FINAL=0 +!endif + all: - make -f server.b32 all - make -f client.b32 all + make -f server.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) + make -f client.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) clean: make -f server.b32 clean