]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/fl/fl_sample2/makefile.vc
compilation fix
[wxWidgets.git] / contrib / samples / fl / fl_sample2 / makefile.vc
1 #
2 # File: Makefile
3 # Author: Hans Van Leemputten
4 # Created: 2001
5 # Updated:
6 # Copyright: (c) wxWorkshop team, 2001
7 #
8 # Makefile : Builds fl sample (VC++, WIN32)
9 # Use FINAL=1 argument to nmake to build final version with no debug info.
10
11 WXDIR = ..\..\..\..
12 TARGET = fl_sample2
13
14 EXTRAINC = -DBMP_DIR=\"../bitmaps/\"
15
16 !if "$(WXUSING_FL_DLL)" == "1"
17 # Define WXUSING_FL_DLL so the compiler knows it is set.
18 EXTRAINC = $(EXTRAINC) -DWXUSING_FL_DLL
19 # Set to use wxWin in DLL format...
20 WXUSINGDLL = 1
21
22 !if "$(FINAL)" == "1"
23 EXTRALIBS = $(WXDIR)\lib\fldll.lib
24 !else
25 EXTRALIBS = $(WXDIR)\lib\fldlld.lib
26 !endif
27 !else
28 !if "$(FINAL)" == "1"
29 EXTRALIBS = $(WXDIR)\lib\fl.lib
30 !else
31 EXTRALIBS = $(WXDIR)\lib\fld.lib
32 !endif
33 !endif
34
35 PROGRAM = $(TARGET)
36 OBJECTS = $(TARGET).obj
37
38 !include $(WXDIR)\src\makeprog.vc