]> git.saurik.com Git - wxWidgets.git/blame - wxPython/demo/dllwidget/Makefile
.cvsignore
[wxWidgets.git] / wxPython / demo / dllwidget / Makefile
CommitLineData
4a61305d
RD
1
2CXX = c++
3CXXFLAGS = `wx-config --cxxflags` -fPIC -I.
4LDFLAGS = `wx-config --libs`
5
6
7all: test_prg test_dll.so
8
9test_prg: dllwidget.o test_prg.o
10 $(CXX) $(LDFLAGS) -o $@ dllwidget.o test_prg.o
11
12test_dll.so: test_dll.o
13 $(CXX) $(LDFLAGS) -shared -o $@ $<
14
15%.o : %.cpp
16 $(CXX) -c $(CXXFLAGS) -o $@ $<
17
18clean:
19 rm -f *.o *.so test_prg