Minor update.
[pysvrt.git] / Makefile
index 7629f3d..6e19ad6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@
 #  General Public License for more details.
 #
 #  You should have received a copy of the GNU General Public License
-#  along with selector.  If not, see <http://www.gnu.org/licenses/>.
+#  along with svrt.  If not, see <http://www.gnu.org/licenses/>.
 
 ifeq ($(DEBUG),yes)
  CXXFLAGS = -fPIC -Wall -g -DDEBUG
@@ -26,11 +26,14 @@ else
  CXXFLAGS = -fPIC -Wall -g -O3
 endif
 
-all: libsvrt.so TAGS
+all: svrt TAGS
 
 TAGS: *.cc *.h
        etags *.cc *.h
 
+svrt:  libsvrt.so svrt.h svrt.c
+       ./build.py
+
 libsvrt.so: \
        misc.o random.o \
        svrt_generator.o \
@@ -42,6 +45,6 @@ Makefile.depend: *.h *.cc Makefile
        $(CC) $(CXXFLAGS) -M *.cc > Makefile.depend
 
 clean:
-       \rm -f svrt *.o *.so Makefile.depend
+       \rm -rf svrt *.o *.so Makefile.depend
 
 -include Makefile.depend