3 CXXFLAGS = `wx-config --cxxflags` -fPIC -I.
4 LDFLAGS = `wx-config --libs`
7 all: test_prg test_dll.so
9 test_prg: dllwidget.o test_prg.o
10 $(CXX) $(LDFLAGS) -o $@ dllwidget.o test_prg.o
12 test_dll.so: test_dll.o
13 $(CXX) $(LDFLAGS) -shared -o $@ $<
16 $(CXX) -c $(CXXFLAGS) -o $@ $<
19 rm -f *.o *.so test_prg