]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/dllwidget/Makefile
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / dllwidget / Makefile
1
2 CXX = c++
3 CXXFLAGS = `wx-config --cxxflags` -fPIC -I.
4 LDFLAGS = `wx-config --libs`
5
6
7 all: test_dll.so
8
9 test_dll.so: test_dll.o
10 $(CXX) $(LDFLAGS) -shared -o $@ $<
11
12 %.o : %.cpp
13 $(CXX) -c $(CXXFLAGS) -o $@ $<
14
15 clean:
16 rm -f *.o *.so