]> git.saurik.com Git - wxWidgets.git/blob - samples/erase/makefile.unx
1d9b5b6b83f94bb9481af8cd14a8ea3b8a838cde
[wxWidgets.git] / samples / erase / makefile.unx
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (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
32
33 # -------------------------------------------------------------------------
34 # Do not modify the rest of this file!
35 # -------------------------------------------------------------------------
36
37 ### Variables: ###
38
39 CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
40 ERASE_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
41 ERASE_OBJECTS = \
42 erase_erase.o
43
44 ### Conditionally set variables: ###
45
46
47
48 ### Targets: ###
49
50 all: erase
51
52 install: all
53
54 uninstall:
55
56 clean:
57 rm -f ./*.o
58 rm -f ./*.d
59 rm -f erase
60
61 erase: $(ERASE_OBJECTS)
62 $(CXX) -o $@ $(ERASE_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,base`
63
64 erase_erase.o: ./erase.cpp
65 $(CXX) -c -o $@ $(ERASE_CXXFLAGS) $(CPPDEPS) $<
66
67 .PHONY: all install uninstall clean
68
69
70 # Dependencies tracking:
71 -include ./*.d