]>
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 | # ========================================================================= | |
12fd305b | 6 | |
12fd305b | 7 | |
12fd305b | 8 | |
2add9e3c RD |
9 | # ------------------------------------------------------------------------- |
10 | # These are configurable options: | |
11 | # ------------------------------------------------------------------------- | |
12fd305b | 12 | |
2add9e3c RD |
13 | # C++ compiler |
14 | CXX = g++ | |
12fd305b | 15 | |
2add9e3c RD |
16 | # Standard flags for C++ |
17 | CXXFLAGS = | |
12fd305b | 18 | |
2add9e3c RD |
19 | # Standard preprocessor flags (common for CC and CXX) |
20 | CPPFLAGS = | |
12fd305b | 21 | |
2add9e3c RD |
22 | # Standard linker flags |
23 | LDFLAGS = | |
12fd305b | 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 | |
40 | ARTTEST_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS) | |
41 | ARTTEST_OBJECTS = \ | |
42 | arttest_arttest.o \ | |
43 | arttest_artbrows.o | |
44 | ||
45 | ### Conditionally set variables: ### | |
46 | ||
47 | ||
48 | ||
49 | ### Targets: ### | |
50 | ||
51 | all: arttest | |
52 | ||
53 | install: all | |
54 | ||
55 | uninstall: | |
12fd305b VS |
56 | |
57 | clean: | |
2add9e3c RD |
58 | rm -f ./*.o |
59 | rm -f ./*.d | |
60 | rm -f arttest | |
61 | ||
62 | arttest: $(ARTTEST_OBJECTS) | |
63 | $(CXX) -o $@ $(ARTTEST_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base` | |
64 | ||
65 | arttest_arttest.o: ./arttest.cpp | |
66 | $(CXX) -c -o $@ $(ARTTEST_CXXFLAGS) $(CPPDEPS) $< | |
67 | ||
68 | arttest_artbrows.o: ./artbrows.cpp | |
69 | $(CXX) -c -o $@ $(ARTTEST_CXXFLAGS) $(CPPDEPS) $< | |
70 | ||
71 | .PHONY: all install uninstall clean | |
72 | ||
73 | ||
74 | # Dependencies tracking: | |
75 | -include ./*.d |