2001-12-06 14:59:37 -05:00
|
|
|
|
|
|
|
CXX = c++
|
|
|
|
CXXFLAGS = `wx-config --cxxflags` -fPIC -I.
|
|
|
|
LDFLAGS = `wx-config --libs`
|
|
|
|
|
|
|
|
|
2001-12-06 15:27:40 -05:00
|
|
|
all: test_dll.so
|
2001-12-06 14:59:37 -05:00
|
|
|
|
|
|
|
test_dll.so: test_dll.o
|
|
|
|
$(CXX) $(LDFLAGS) -shared -o $@ $<
|
|
|
|
|
|
|
|
%.o : %.cpp
|
|
|
|
$(CXX) -c $(CXXFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
clean:
|
2001-12-06 15:27:40 -05:00
|
|
|
rm -f *.o *.so
|