]> git.saurik.com Git - wxWidgets.git/blob - samples/opengl/penguin/makefile.unx
f0ef9f65d177701ec185488dccf489a841ed817e
[wxWidgets.git] / samples / opengl / penguin / 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 CC = gcc
15
16 # C++ compiler
17 CXX = g++
18
19 # Standard flags for CC
20 CFLAGS =
21
22 # Standard flags for C++
23 CXXFLAGS =
24
25 # Standard preprocessor flags (common for CC and CXX)
26 CPPFLAGS =
27
28 # Standard linker flags
29 LDFLAGS =
30
31 # Location and arguments of wx-config script
32 WX_CONFIG = wx-config
33
34 # C flags to use with wxWidgets code
35 WX_CFLAGS = `$(WX_CONFIG) --cflags`
36
37 # C++ flags to use with wxWidgets code
38 WX_CXXFLAGS = `$(WX_CONFIG) --cxxflags`
39
40
41
42 # -------------------------------------------------------------------------
43 # Do not modify the rest of this file!
44 # -------------------------------------------------------------------------
45
46 ### Variables: ###
47
48 CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
49 PENGUIN_CFLAGS = -I. $(WX_CFLAGS) $(CPPFLAGS) $(CFLAGS)
50 PENGUIN_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
51 PENGUIN_OBJECTS = \
52 penguin_penguin.o \
53 penguin_dxfrenderer.o \
54 penguin_trackball.o
55
56 ### Conditionally set variables: ###
57
58
59
60 ### Targets: ###
61
62 all: penguin
63
64 install: all
65
66 uninstall:
67
68 clean:
69 rm -f ./*.o
70 rm -f ./*.d
71 rm -f penguin
72
73 penguin: $(PENGUIN_OBJECTS)
74 $(CXX) -o $@ $(PENGUIN_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs gl,core,base`
75
76 penguin_penguin.o: ./penguin.cpp
77 $(CXX) -c -o $@ $(PENGUIN_CXXFLAGS) $(CPPDEPS) $<
78
79 penguin_dxfrenderer.o: ./dxfrenderer.cpp
80 $(CXX) -c -o $@ $(PENGUIN_CXXFLAGS) $(CPPDEPS) $<
81
82 penguin_trackball.o: ./trackball.c
83 $(CC) -c -o $@ $(PENGUIN_CFLAGS) $(CPPDEPS) $<
84
85 .PHONY: all install uninstall clean
86
87
88 # Dependencies tracking:
89 -include ./*.d