]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/db/makefile.unx
really restored correct sample code
[wxWidgets.git] / samples / db / makefile.unx
... / ...
CommitLineData
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
14CXX = g++
15
16# Standard flags for C++
17CXXFLAGS =
18
19# Standard preprocessor flags (common for CC and CXX)
20CPPFLAGS =
21
22# Standard linker flags
23LDFLAGS =
24
25# Location and arguments of wx-config script
26WX_CONFIG = wx-config
27
28# C++ flags to use with wxWidgets code
29WX_CXXFLAGS = `$(WX_CONFIG) --cxxflags`
30
31
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
40DBTEST_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
41DBTEST_OBJECTS = \
42 dbtest_dbtest.o \
43 dbtest_listdb.o
44
45### Conditionally set variables: ###
46
47
48
49### Targets: ###
50
51all: dbtest
52
53install: all
54
55uninstall:
56
57clean:
58 rm -f ./*.o
59 rm -f ./*.d
60 rm -f dbtest
61
62dbtest: $(DBTEST_OBJECTS)
63 $(CXX) -o $@ $(DBTEST_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs dbgrid,odbc,adv,html,xml,core,base`
64
65dbtest_dbtest.o: ./dbtest.cpp
66 $(CXX) -c -o $@ $(DBTEST_CXXFLAGS) $(CPPDEPS) $<
67
68dbtest_listdb.o: ./listdb.cpp
69 $(CXX) -c -o $@ $(DBTEST_CXXFLAGS) $(CPPDEPS) $<
70
71.PHONY: all install uninstall clean
72
73
74# Dependencies tracking:
75-include ./*.d