]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/fl/fl_sample3/makefile.vc
compilation fix
[wxWidgets.git] / contrib / samples / fl / fl_sample3 / makefile.vc
index 699a66babcb378bf50d915d6774d89925c6bdd73..d63277a77a6bd6a1988ab99b9287cb735bf62711 100644 (file)
@@ -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