]> git.saurik.com Git - wxWidgets.git/blame - samples/minimal/makefile.unx
move wxIsDragResultOk out of line to avoid problems with DLL-exported inline function...
[wxWidgets.git] / samples / minimal / 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# =========================================================================
e9093718 6
72858fcf 7
e9093718 8
2add9e3c
RD
9# -------------------------------------------------------------------------
10# These are configurable options:
11# -------------------------------------------------------------------------
72858fcf 12
2add9e3c
RD
13# C++ compiler
14CXX = g++
e9093718 15
2add9e3c
RD
16# Standard flags for C++
17CXXFLAGS =
e9093718 18
2add9e3c
RD
19# Standard preprocessor flags (common for CC and CXX)
20CPPFLAGS =
72858fcf 21
2add9e3c
RD
22# Standard linker flags
23LDFLAGS =
e9093718 24
2add9e3c
RD
25# Location and arguments of wx-config script
26WX_CONFIG = wx-config
e9093718 27
2add9e3c
RD
28# C++ flags to use with wxWidgets code
29WX_CXXFLAGS = `$(WX_CONFIG) --cxxflags`
e9093718 30
e9093718 31
2add9e3c
RD
32
33# -------------------------------------------------------------------------
34# Do not modify the rest of this file!
35# -------------------------------------------------------------------------
36
37### Variables: ###
38
39CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
40MINIMAL_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
41MINIMAL_OBJECTS = \
42 minimal_minimal.o
43
44### Conditionally set variables: ###
45
46
47
48### Targets: ###
49
50all: minimal
51
52install: all
53
54uninstall:
e9093718
RR
55
56clean:
2add9e3c
RD
57 rm -f ./*.o
58 rm -f ./*.d
59 rm -f minimal
60
61minimal: $(MINIMAL_OBJECTS)
62 $(CXX) -o $@ $(MINIMAL_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base`
63
64minimal_minimal.o: ./minimal.cpp
65 $(CXX) -c -o $@ $(MINIMAL_CXXFLAGS) $(CPPDEPS) $<
66
67.PHONY: all install uninstall clean
68
69
70# Dependencies tracking:
71-include ./*.d