]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/render/makefile.unx
post WM_CLOSE instead of deleting the inplace edit control (second incarnation of...
[wxWidgets.git] / samples / render / makefile.unx
... / ...
CommitLineData
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# =========================================================================
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# Build shared lib plugin
32SHARED = 0
33
34
35
36# -------------------------------------------------------------------------
37# Do not modify the rest of this file!
38# -------------------------------------------------------------------------
39
40### Variables: ###
41
42CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
43RENDER_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
44RENDER_OBJECTS = \
45 render_render.o
46RENDDLL_CXXFLAGS = -I. -fPIC -DPIC $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
47RENDDLL_OBJECTS = \
48 renddll_renddll.o
49
50### Conditionally set variables: ###
51
52ifeq ($(SHARED),1)
53__renddll___depname = renddll.so
54endif
55
56
57### Targets: ###
58
59all: render $(__renddll___depname)
60
61install: all
62
63uninstall:
64
65clean:
66 rm -f ./*.o
67 rm -f ./*.d
68 rm -f render
69 rm -f renddll.so
70
71render: $(RENDER_OBJECTS)
72 $(CXX) -o $@ $(RENDER_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base`
73
74ifeq ($(SHARED),1)
75renddll.so: $(RENDDLL_OBJECTS)
76 $(CXX) -shared -fPIC -o $@ $(RENDDLL_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base`
77endif
78
79render_render.o: ./render.cpp
80 $(CXX) -c -o $@ $(RENDER_CXXFLAGS) $(CPPDEPS) $<
81
82renddll_renddll.o: ./renddll.cpp
83 $(CXX) -c -o $@ $(RENDDLL_CXXFLAGS) $(CPPDEPS) $<
84
85.PHONY: all install uninstall clean
86
87
88# Dependencies tracking:
89-include ./*.d