]>
Commit | Line | Data |
---|---|---|
4a61305d RD |
1 | |
2 | CXX = c++ | |
3 | CXXFLAGS = `wx-config --cxxflags` -fPIC -I. | |
4 | LDFLAGS = `wx-config --libs` | |
5 | ||
6 | ||
be050baf | 7 | all: test_dll.so |
4a61305d RD |
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: | |
be050baf | 16 | rm -f *.o *.so |