]> git.saurik.com Git - wxWidgets.git/blob - samples/widgets/makefile.unx
bf6814221830940055a27993ee2fc3ca9028c5d9
[wxWidgets.git] / samples / widgets / makefile.unx
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7
8
9 # -------------------------------------------------------------------------
10 # These are configurable options:
11 # -------------------------------------------------------------------------
12
13 # C++ compiler
14 CXX = g++
15
16 # Standard flags for C++
17 CXXFLAGS =
18
19 # Standard preprocessor flags (common for CC and CXX)
20 CPPFLAGS =
21
22 # Standard linker flags
23 LDFLAGS =
24
25 # Location and arguments of wx-config script
26 WX_CONFIG = wx-config
27
28 # C++ flags to use with wxWidgets code
29 WX_CXXFLAGS = `$(WX_CONFIG) --cxxflags`
30
31
32
33 # -------------------------------------------------------------------------
34 # Do not modify the rest of this file!
35 # -------------------------------------------------------------------------
36
37 ### Variables: ###
38
39 CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
40 WIDGETS_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
41 WIDGETS_OBJECTS = \
42 widgets_bmpcombobox.o \
43 widgets_button.o \
44 widgets_checkbox.o \
45 widgets_clrpicker.o \
46 widgets_combobox.o \
47 widgets_datepick.o \
48 widgets_dirctrl.o \
49 widgets_dirpicker.o \
50 widgets_filepicker.o \
51 widgets_fontpicker.o \
52 widgets_gauge.o \
53 widgets_hyperlnk.o \
54 widgets_listbox.o \
55 widgets_notebook.o \
56 widgets_odcombobox.o \
57 widgets_radiobox.o \
58 widgets_slider.o \
59 widgets_spinbtn.o \
60 widgets_static.o \
61 widgets_textctrl.o \
62 widgets_toggle.o \
63 widgets_widgets.o
64
65 ### Conditionally set variables: ###
66
67
68
69 ### Targets: ###
70
71 all: widgets
72
73 install: all
74
75 uninstall:
76
77 clean:
78 rm -f ./*.o
79 rm -f ./*.d
80 rm -f widgets
81
82 widgets: $(WIDGETS_OBJECTS)
83 $(CXX) -o $@ $(WIDGETS_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs xml,adv,html,core,base`
84
85 widgets_bmpcombobox.o: ./bmpcombobox.cpp
86 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
87
88 widgets_button.o: ./button.cpp
89 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
90
91 widgets_checkbox.o: ./checkbox.cpp
92 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
93
94 widgets_clrpicker.o: ./clrpicker.cpp
95 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
96
97 widgets_combobox.o: ./combobox.cpp
98 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
99
100 widgets_datepick.o: ./datepick.cpp
101 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
102
103 widgets_dirctrl.o: ./dirctrl.cpp
104 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
105
106 widgets_dirpicker.o: ./dirpicker.cpp
107 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
108
109 widgets_filepicker.o: ./filepicker.cpp
110 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
111
112 widgets_fontpicker.o: ./fontpicker.cpp
113 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
114
115 widgets_gauge.o: ./gauge.cpp
116 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
117
118 widgets_hyperlnk.o: ./hyperlnk.cpp
119 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
120
121 widgets_listbox.o: ./listbox.cpp
122 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
123
124 widgets_notebook.o: ./notebook.cpp
125 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
126
127 widgets_odcombobox.o: ./odcombobox.cpp
128 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
129
130 widgets_radiobox.o: ./radiobox.cpp
131 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
132
133 widgets_slider.o: ./slider.cpp
134 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
135
136 widgets_spinbtn.o: ./spinbtn.cpp
137 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
138
139 widgets_static.o: ./static.cpp
140 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
141
142 widgets_textctrl.o: ./textctrl.cpp
143 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
144
145 widgets_toggle.o: ./toggle.cpp
146 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
147
148 widgets_widgets.o: ./widgets.cpp
149 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
150
151 .PHONY: all install uninstall clean
152
153
154 # Dependencies tracking:
155 -include ./*.d