]>
Commit | Line | Data |
---|---|---|
2add9e3c RD |
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 | # ========================================================================= | |
8b089c5e | 6 | |
d969af82 | 7 | |
8b089c5e | 8 | |
2add9e3c RD |
9 | # ------------------------------------------------------------------------- |
10 | # These are configurable options: | |
11 | # ------------------------------------------------------------------------- | |
8b089c5e | 12 | |
2add9e3c RD |
13 | # C++ compiler |
14 | CXX = g++ | |
8b089c5e | 15 | |
2add9e3c RD |
16 | # Standard flags for C++ |
17 | CXXFLAGS = | |
8b089c5e | 18 | |
2add9e3c RD |
19 | # Standard preprocessor flags (common for CC and CXX) |
20 | CPPFLAGS = | |
8b089c5e | 21 | |
2add9e3c RD |
22 | # Standard linker flags |
23 | LDFLAGS = | |
c661ecca | 24 | |
2add9e3c RD |
25 | # Location and arguments of wx-config script |
26 | WX_CONFIG = wx-config | |
c661ecca | 27 | |
2add9e3c RD |
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 | CUBE_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS) | |
41 | CUBE_OBJECTS = \ | |
42 | cube_cube.o | |
43 | ||
44 | ### Conditionally set variables: ### | |
45 | ||
46 | ||
47 | ||
48 | ### Targets: ### | |
49 | ||
50 | all: cube | |
51 | ||
52 | install: all | |
53 | ||
54 | uninstall: | |
c661ecca RR |
55 | |
56 | clean: | |
2add9e3c RD |
57 | rm -f ./*.o |
58 | rm -f ./*.d | |
59 | rm -f cube | |
60 | ||
61 | cube: $(CUBE_OBJECTS) | |
62 | $(CXX) -o $@ $(CUBE_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs gl,core,base` | |
63 | ||
64 | cube_cube.o: ./cube.cpp | |
65 | $(CXX) -c -o $@ $(CUBE_CXXFLAGS) $(CPPDEPS) $< | |
66 | ||
67 | .PHONY: all install uninstall clean | |
68 | ||
69 | ||
70 | # Dependencies tracking: | |
71 | -include ./*.d |