]> git.saurik.com Git - wxWidgets.git/blob - samples/xrc/makefile.unx
8b6a3d54471914c5477e12cb4146de2469325df4
[wxWidgets.git] / samples / xrc / makefile.unx
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.1 (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 XRCDEMO_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
41 XRCDEMO_OBJECTS = \
42 xrcdemo_xrcdemo.o \
43 xrcdemo_myframe.o \
44 xrcdemo_derivdlg.o \
45 xrcdemo_custclas.o
46
47 ### Conditionally set variables: ###
48
49
50
51 ### Targets: ###
52
53 all: xrcdemo
54
55 install: all
56
57 uninstall:
58
59 clean:
60 rm -f ./*.o
61 rm -f ./*.d
62 rm -f xrcdemo
63
64 xrcdemo: $(XRCDEMO_OBJECTS)
65 $(CXX) -o $@ $(XRCDEMO_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs xrc,html,adv,core,xml,base`
66
67 xrcdemo_xrcdemo.o: ./xrcdemo.cpp
68 $(CXX) -c -o $@ $(XRCDEMO_CXXFLAGS) $(CPPDEPS) $<
69
70 xrcdemo_myframe.o: ./myframe.cpp
71 $(CXX) -c -o $@ $(XRCDEMO_CXXFLAGS) $(CPPDEPS) $<
72
73 xrcdemo_derivdlg.o: ./derivdlg.cpp
74 $(CXX) -c -o $@ $(XRCDEMO_CXXFLAGS) $(CPPDEPS) $<
75
76 xrcdemo_custclas.o: ./custclas.cpp
77 $(CXX) -c -o $@ $(XRCDEMO_CXXFLAGS) $(CPPDEPS) $<
78
79 .PHONY: all install uninstall clean
80
81
82 # Dependencies tracking:
83 -include ./*.d