1# ========================================================================= 2# This makefile was generated by 3# Bakefile 0.2.9 (http://www.bakefile.org) 4# Do not modify, all changes will be overwritten! 5# ========================================================================= 6 7 8 9# ------------------------------------------------------------------------- 10# These are configurable options: 11# ------------------------------------------------------------------------- 12 13# C++ compiler 14CXX = g++ 15 16# Standard flags for C++ 17CXXFLAGS ?= 18 19# Standard preprocessor flags (common for CC and CXX) 20CPPFLAGS ?= 21 22# Standard linker flags 23LDFLAGS ?= 24 25# Location and arguments of wx-config script 26WX_CONFIG ?= wx-config 27 28# C++ flags to use with wxWidgets code 29WX_CXXFLAGS ?= `$(WX_CONFIG) --cxxflags` 30 31 32 33# ------------------------------------------------------------------------- 34# Do not modify the rest of this file! 35# ------------------------------------------------------------------------- 36 37### Variables: ### 38 39CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD -MP 40DOCVWMDI_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS) 41DOCVWMDI_OBJECTS = \ 42 docvwmdi_docview.o \ 43 docvwmdi_doc.o \ 44 docvwmdi_view.o 45 46### Conditionally set variables: ### 47 48 49 50### Targets: ### 51 52all: docvwmdi 53 54install: 55 56uninstall: 57 58clean: 59 rm -f ./*.o 60 rm -f ./*.d 61 rm -f docvwmdi 62 63docvwmdi: $(DOCVWMDI_OBJECTS) 64 $(CXX) -o $@ $(DOCVWMDI_OBJECTS) `$(WX_CONFIG) --libs core,base` $(LDFLAGS) 65 66docvwmdi_docview.o: ./docview.cpp 67 $(CXX) -c -o $@ $(DOCVWMDI_CXXFLAGS) $(CPPDEPS) $< 68 69docvwmdi_doc.o: ./doc.cpp 70 $(CXX) -c -o $@ $(DOCVWMDI_CXXFLAGS) $(CPPDEPS) $< 71 72docvwmdi_view.o: ./view.cpp 73 $(CXX) -c -o $@ $(DOCVWMDI_CXXFLAGS) $(CPPDEPS) $< 74 75.PHONY: all install uninstall clean 76 77 78# Dependencies tracking: 79-include ./*.d 80