X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a61305d364dcf229395fb223daec31e2d6efcb4..65cf3a4b6a3f70a40db688f75e27d8e7457618d3:/wxPython/demo/dllwidget/Makefile?ds=inline 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