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 # -------------------------------------------------------------------------
19 # Standard flags for CC
22 # Standard flags for C++
25 # Standard preprocessor flags (common for CC and CXX)
28 # Standard linker flags
31 # Location and arguments of wx-config script
34 # C flags to use with wxWidgets code
35 WX_CFLAGS = `$(WX_CONFIG) --cflags`
37 # C++ flags to use with wxWidgets code
38 WX_CXXFLAGS = `$(WX_CONFIG) --cxxflags`
42 # -------------------------------------------------------------------------
43 # Do not modify the rest of this file!
44 # -------------------------------------------------------------------------
48 CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
49 PENGUIN_CFLAGS = -I. $(WX_CFLAGS) $(CPPFLAGS) $(CFLAGS)
50 PENGUIN_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
53 penguin_dxfrenderer.o \
56 ### Conditionally set variables: ###
73 penguin: $(PENGUIN_OBJECTS)
74 $(CXX) -o $@ $(PENGUIN_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs gl,core,base`
76 penguin_penguin.o: ./penguin.cpp
77 $(CXX) -c -o $@ $(PENGUIN_CXXFLAGS) $(CPPDEPS) $<
79 penguin_dxfrenderer.o: ./dxfrenderer.cpp
80 $(CXX) -c -o $@ $(PENGUIN_CXXFLAGS) $(CPPDEPS) $<
82 penguin_trackball.o: ./trackball.c
83 $(CC) -c -o $@ $(PENGUIN_CFLAGS) $(CPPDEPS) $<
85 .PHONY: all install uninstall clean
88 # Dependencies tracking: