X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a61305d364dcf229395fb223daec31e2d6efcb4..6a52ea5cb81dcd07c286d34b80945534780fe05f:/wxPython/demo/dllwidget/Makefile diff --git a/wxPython/demo/dllwidget/Makefile b/wxPython/demo/dllwidget/Makefile index 71065ea605..bcf3a56412 100644 --- a/wxPython/demo/dllwidget/Makefile +++ b/wxPython/demo/dllwidget/Makefile @@ -4,10 +4,7 @@ CXXFLAGS = `wx-config --cxxflags` -fPIC -I. LDFLAGS = `wx-config --libs` -all: test_prg test_dll.so - -test_prg: dllwidget.o test_prg.o - $(CXX) $(LDFLAGS) -o $@ dllwidget.o test_prg.o +all: test_dll.so test_dll.so: test_dll.o $(CXX) $(LDFLAGS) -shared -o $@ $< @@ -16,4 +13,4 @@ test_dll.so: test_dll.o $(CXX) -c $(CXXFLAGS) -o $@ $< clean: - rm -f *.o *.so test_prg + rm -f *.o *.so