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 # =========================================================================
9 # -------------------------------------------------------------------------
10 # These are configurable options:
11 # -------------------------------------------------------------------------
16 # Standard flags for C++
19 # Standard preprocessor flags (common for CC and CXX)
22 # Standard linker flags
25 # Location and arguments of wx-config script
28 # C++ flags to use with wxWidgets code
29 WX_CXXFLAGS = `$(WX_CONFIG) --cxxflags`
31 # Build shared lib plugin
36 # -------------------------------------------------------------------------
37 # Do not modify the rest of this file!
38 # -------------------------------------------------------------------------
42 CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
43 RENDER_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
46 RENDDLL_CXXFLAGS = -I. -fPIC -DPIC $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
50 ### Conditionally set variables: ###
53 __renddll___depname = renddll.so
59 all: render $(__renddll___depname)
71 render: $(RENDER_OBJECTS)
72 $(CXX) -o $@ $(RENDER_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base`
75 renddll.so: $(RENDDLL_OBJECTS)
76 $(CXX) -shared -fPIC -o $@ $(RENDDLL_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base`
79 render_render.o: ./render.cpp
80 $(CXX) -c -o $@ $(RENDER_CXXFLAGS) $(CPPDEPS) $<
82 renddll_renddll.o: ./renddll.cpp
83 $(CXX) -c -o $@ $(RENDDLL_CXXFLAGS) $(CPPDEPS) $<
85 .PHONY: all install uninstall clean
88 # Dependencies tracking: