]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/fl/fl_demo1/makefile.vc
Corrected printing docs
[wxWidgets.git] / contrib / samples / fl / fl_demo1 / makefile.vc
index 51eaae55cacab68ec91fce4e1e77a59acf3b8356..e997c2c79d0b2e7692ca0cbb6782f1749d7bc098 100644 (file)
@@ -12,11 +12,25 @@ WXDIR = ..\..\..\..
 TARGET = fl_demo1
 
 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