]>
Commit | Line | Data |
---|---|---|
2add9e3c RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
25bb1412 | 3 | # Bakefile 0.2.1 (http://bakefile.sourceforge.net) |
2add9e3c RD |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
e9093718 | 6 | |
e9093718 | 7 | |
e9093718 | 8 | |
2add9e3c RD |
9 | # ------------------------------------------------------------------------- |
10 | # These are configurable options: | |
11 | # ------------------------------------------------------------------------- | |
e9093718 | 12 | |
2add9e3c RD |
13 | # C++ compiler |
14 | CXX = g++ | |
e9093718 | 15 | |
2add9e3c RD |
16 | # Standard flags for C++ |
17 | CXXFLAGS = | |
e9093718 | 18 | |
2add9e3c RD |
19 | # Standard preprocessor flags (common for CC and CXX) |
20 | CPPFLAGS = | |
e9093718 | 21 | |
2add9e3c RD |
22 | # Standard linker flags |
23 | LDFLAGS = | |
e9093718 | 24 | |
2add9e3c RD |
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 | |
7dc467c5 VZ |
40 | DOCVWMDI_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS) |
41 | DOCVWMDI_OBJECTS = \ | |
42 | docvwmdi_docview.o \ | |
43 | docvwmdi_doc.o \ | |
44 | docvwmdi_view.o | |
2add9e3c RD |
45 | |
46 | ### Conditionally set variables: ### | |
47 | ||
48 | ||
49 | ||
50 | ### Targets: ### | |
51 | ||
7dc467c5 | 52 | all: docvwmdi |
2add9e3c RD |
53 | |
54 | install: all | |
55 | ||
56 | uninstall: | |
e9093718 RR |
57 | |
58 | clean: | |
2add9e3c RD |
59 | rm -f ./*.o |
60 | rm -f ./*.d | |
7dc467c5 | 61 | rm -f docvwmdi |
2add9e3c | 62 | |
7dc467c5 VZ |
63 | docvwmdi: $(DOCVWMDI_OBJECTS) |
64 | $(CXX) -o $@ $(DOCVWMDI_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base` | |
2add9e3c | 65 | |
7dc467c5 VZ |
66 | docvwmdi_docview.o: ./docview.cpp |
67 | $(CXX) -c -o $@ $(DOCVWMDI_CXXFLAGS) $(CPPDEPS) $< | |
2add9e3c | 68 | |
7dc467c5 VZ |
69 | docvwmdi_doc.o: ./doc.cpp |
70 | $(CXX) -c -o $@ $(DOCVWMDI_CXXFLAGS) $(CPPDEPS) $< | |
2add9e3c | 71 | |
7dc467c5 VZ |
72 | docvwmdi_view.o: ./view.cpp |
73 | $(CXX) -c -o $@ $(DOCVWMDI_CXXFLAGS) $(CPPDEPS) $< | |
2add9e3c RD |
74 | |
75 | .PHONY: all install uninstall clean | |
76 | ||
77 | ||
78 | # Dependencies tracking: | |
79 | -include ./*.d |