Added CONFIGUREFLAGS option to Smake.
[pspp-builds.git] / Smake
diff --git a/Smake b/Smake
index e363f418b6df65be040066a473912390c297fe86..040b51df8352db7f18a171bdd4e72c97853c9159 100644 (file)
--- a/Smake
+++ b/Smake
@@ -1,5 +1,5 @@
 Makefile po/Makefile.in: Makefile.in configure install-sh config.h.in po/Makefile.in.in po/POTFILES.in
-       ./configure
+       ./configure $(CONFIGUREFLAGS)
 
 configure:  configure.ac aclocal.m4
        autoconf
@@ -46,7 +46,7 @@ po/Makefile.in.in intl ABOUT-NLS:
 
 .PHONY: clean
 clean:
-       $(RM) config.sub config.guess
+       $(RM) config.sub config.guess config.rpath
        $(RM) ABOUT-NLS
        $(RM) -r autom4te.cache
        $(RM) aclocal.m4