X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=inline;f=Makefile;h=05881d83c55483bdbd0c92b851e5c68d67cef164;hb=34aeb8100a6c19dae72779f9e46a0acbb5a069c7;hp=7629f3ded17df977826bfe5989cf4b83953ade96;hpb=f542d0542b1e51ca7dd12bc6b96f6a299371ae8d;p=pysvrt.git
diff --git a/Makefile b/Makefile
index 7629f3d..05881d8 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 pysvrt. 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