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