]> git.saurik.com Git - wxWidgets.git/blame - samples/render/makefile.unx
Fix unused param warnings
[wxWidgets.git] / samples / render / makefile.unx
CommitLineData
2add9e3c
RD
1# =========================================================================
2# This makefile was generated by
25bb1412 3# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
2add9e3c
RD
4# Do not modify, all changes will be overwritten!
5# =========================================================================
3e5e2ea5 6
3e5e2ea5 7
3e5e2ea5 8
2add9e3c
RD
9# -------------------------------------------------------------------------
10# These are configurable options:
11# -------------------------------------------------------------------------
3e5e2ea5 12
2add9e3c
RD
13# C++ compiler
14CXX = g++
3e5e2ea5 15
2add9e3c
RD
16# Standard flags for C++
17CXXFLAGS =
3e5e2ea5 18
2add9e3c
RD
19# Standard preprocessor flags (common for CC and CXX)
20CPPFLAGS =
3e5e2ea5 21
2add9e3c
RD
22# Standard linker flags
23LDFLAGS =
3e5e2ea5 24
2add9e3c
RD
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:
3e5e2ea5
JS
64
65clean:
2add9e3c
RD
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