2006-10-28 17:54:52 -04:00
|
|
|
# =========================================================================
|
|
|
|
# This makefile was generated by
|
2006-11-09 21:32:01 -05:00
|
|
|
# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
|
2006-10-28 17:54:52 -04:00
|
|
|
# Do not modify, all changes will be overwritten!
|
|
|
|
# =========================================================================
|
1999-11-21 14:28:15 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-28 17:54:52 -04:00
|
|
|
# -------------------------------------------------------------------------
|
|
|
|
# These are configurable options:
|
|
|
|
# -------------------------------------------------------------------------
|
1999-11-21 14:28:15 -05:00
|
|
|
|
2006-10-28 17:54:52 -04:00
|
|
|
# C++ compiler
|
|
|
|
CXX = g++
|
1999-11-21 14:28:15 -05:00
|
|
|
|
2006-10-28 17:54:52 -04:00
|
|
|
# Standard flags for C++
|
|
|
|
CXXFLAGS =
|
1999-11-21 14:28:15 -05:00
|
|
|
|
2006-10-28 17:54:52 -04:00
|
|
|
# Standard preprocessor flags (common for CC and CXX)
|
|
|
|
CPPFLAGS =
|
1999-11-21 14:28:15 -05:00
|
|
|
|
2006-10-28 17:54:52 -04:00
|
|
|
# Standard linker flags
|
|
|
|
LDFLAGS =
|
1999-11-21 14:28:15 -05:00
|
|
|
|
2006-10-28 17:54:52 -04:00
|
|
|
# Location and arguments of wx-config script
|
|
|
|
WX_CONFIG = wx-config
|
|
|
|
|
|
|
|
# C++ flags to use with wxWidgets code
|
|
|
|
WX_CXXFLAGS = `$(WX_CONFIG) --cxxflags`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# -------------------------------------------------------------------------
|
|
|
|
# Do not modify the rest of this file!
|
|
|
|
# -------------------------------------------------------------------------
|
|
|
|
|
|
|
|
### Variables: ###
|
|
|
|
|
|
|
|
CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
|
|
|
|
IMAGE_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
|
|
|
|
IMAGE_OBJECTS = \
|
|
|
|
image_image.o
|
|
|
|
|
|
|
|
### Conditionally set variables: ###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Targets: ###
|
|
|
|
|
|
|
|
all: image
|
|
|
|
|
|
|
|
install: all
|
|
|
|
|
|
|
|
uninstall:
|
1999-11-21 14:28:15 -05:00
|
|
|
|
|
|
|
clean:
|
2006-10-28 17:54:52 -04:00
|
|
|
rm -f ./*.o
|
|
|
|
rm -f ./*.d
|
|
|
|
rm -f image
|
|
|
|
|
|
|
|
image: $(IMAGE_OBJECTS)
|
|
|
|
$(CXX) -o $@ $(IMAGE_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base`
|
|
|
|
|
|
|
|
image_image.o: ./image.cpp
|
|
|
|
$(CXX) -c -o $@ $(IMAGE_CXXFLAGS) $(CPPDEPS) $<
|
|
|
|
|
|
|
|
.PHONY: all install uninstall clean
|
|
|
|
|
|
|
|
|
|
|
|
# Dependencies tracking:
|
|
|
|
-include ./*.d
|