X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=inline;f=Makefile;h=6e19ad66f42e21ba2f17f69055f9da35be7fdd90;hb=8cdea45a2a54fa619d670ff30cfdf96308853f7e;hp=7629f3ded17df977826bfe5989cf4b83953ade96;hpb=f542d0542b1e51ca7dd12bc6b96f6a299371ae8d;p=pysvrt.git
diff --git a/Makefile b/Makefile
index 7629f3d..6e19ad6 100644
--- 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 .
+# along with svrt. If not, see .
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