X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e08b761b0c5ecb6df295785b78f1f3637331887..61d457caae3e33efe8e0953f79c4a94e366b22d7:/contrib/samples/fl/fl_sample3/makefile.vc diff --git a/contrib/samples/fl/fl_sample3/makefile.vc b/contrib/samples/fl/fl_sample3/makefile.vc index 699a66babc..d63277a77a 100644 --- a/contrib/samples/fl/fl_sample3/makefile.vc +++ b/contrib/samples/fl/fl_sample3/makefile.vc @@ -12,11 +12,25 @@ WXDIR = ..\..\..\.. TARGET = fl_sample3 EXTRAINC = -DBMP_DIR=\"../bitmaps/\" + +!if "$(WXUSING_FL_DLL)" == "1" +# Define WXUSING_FL_DLL so the compiler knows it is set. +EXTRAINC = $(EXTRAINC) -DWXUSING_FL_DLL +# Set to use wxWin in DLL format... +WXUSINGDLL = 1 + +!if "$(FINAL)" == "1" +EXTRALIBS = $(WXDIR)\lib\fldll.lib +!else +EXTRALIBS = $(WXDIR)\lib\fldlld.lib +!endif +!else !if "$(FINAL)" == "1" EXTRALIBS = $(WXDIR)\lib\fl.lib !else EXTRALIBS = $(WXDIR)\lib\fld.lib !endif +!endif PROGRAM = $(TARGET) OBJECTS = $(TARGET).obj