]> git.saurik.com Git - wxWidgets.git/blob - samples/render/makefile.unx
avoid reading KDE-tables on OpenVMS. They will never be installed since KDE
[wxWidgets.git] / samples / render / makefile.unx
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 # =========================================================================
6
7
8
9 # -------------------------------------------------------------------------
10 # These are configurable options:
11 # -------------------------------------------------------------------------
12
13 # C++ compiler
14 CXX = g++
15
16 # Standard flags for C++
17 CXXFLAGS =
18
19 # Standard preprocessor flags (common for CC and CXX)
20 CPPFLAGS =
21
22 # Standard linker flags
23 LDFLAGS =
24
25 # Location and arguments of wx-config script
26 WX_CONFIG = wx-config
27
28 # C++ flags to use with wxWidgets code
29 WX_CXXFLAGS = `$(WX_CONFIG) --cxxflags`
30
31 # Build shared lib plugin
32 SHARED = 0
33
34
35
36 # -------------------------------------------------------------------------
37 # Do not modify the rest of this file!
38 # -------------------------------------------------------------------------
39
40 ### Variables: ###
41
42 CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
43 RENDER_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
44 RENDER_OBJECTS = \
45 render_render.o
46 RENDDLL_CXXFLAGS = -I. -fPIC -DPIC $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
47 RENDDLL_OBJECTS = \
48 renddll_renddll.o
49
50 ### Conditionally set variables: ###
51
52 ifeq ($(SHARED),1)
53 __renddll___depname = renddll.so
54 endif
55
56
57 ### Targets: ###
58
59 all: render $(__renddll___depname)
60
61 install: all
62
63 uninstall:
64
65 clean:
66 rm -f ./*.o
67 rm -f ./*.d
68 rm -f render
69 rm -f renddll.so
70
71 render: $(RENDER_OBJECTS)
72 $(CXX) -o $@ $(RENDER_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base`
73
74 ifeq ($(SHARED),1)
75 renddll.so: $(RENDDLL_OBJECTS)
76 $(CXX) -shared -fPIC -o $@ $(RENDDLL_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base`
77 endif
78
79 render_render.o: ./render.cpp
80 $(CXX) -c -o $@ $(RENDER_CXXFLAGS) $(CPPDEPS) $<
81
82 renddll_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