changeset 9468:08aac5184699 octave-forge

control: reorganize package makefile (2)
author paramaniac
date Wed, 22 Feb 2012 18:24:10 +0000
parents da86867d96ea
children fccb049af652
files main/control/devel/makefile_control.m main/control/src/Makefile
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/control/devel/makefile_control.m	Wed Feb 22 18:15:13 2012 +0000
+++ b/main/control/devel/makefile_control.m	Wed Feb 22 18:24:10 2012 +0000
@@ -11,6 +11,7 @@
 srcdir = [develdir, "/../src"];
 cd (srcdir);
 
+%{
 makefile_chol
 makefile_conversions
 makefile_h2syn
@@ -27,5 +28,10 @@
 makefile_staircase
 makefile_tustin
 makefile_zero
+%}
+
+% system ("make clean");
+system ("make -j4 all");
+system ("rm *.o");
 
 cd (homedir);
--- a/main/control/src/Makefile	Wed Feb 22 18:15:13 2012 +0000
+++ b/main/control/src/Makefile	Wed Feb 22 18:24:10 2012 +0000
@@ -253,4 +253,7 @@
 	mkoctfile is_real_square_matrix.cc
 
 clean:
-	rm *.o core octave-core *.oct *~
\ No newline at end of file
+	rm -rf *.o core octave-core *.oct *~ *.f slicot
+
+realclean: clean
+	rm -rf *.a
\ No newline at end of file