diff liboctave/mk-ops.awk @ 8774:b756ce0002db

split implementation and interface in mx-op-defs and MArray-defs
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 17 Feb 2009 08:38:00 +0100
parents 4270ded9ddc6
children eb63fbe60fab
line wrap: on
line diff
--- a/liboctave/mk-ops.awk
+++ b/liboctave/mk-ops.awk
@@ -162,7 +162,7 @@
 	        printf ("#include \"%s\"\n", rhs_header) >> h_file;
 	    }
 
-          printf ("#include \"mx-op-defs.h\"\n") >> h_file;
+          printf ("#include \"mx-op-decl.h\"\n") >> h_file;
 
           if (bin_ops)
             printf ("%s%s_BIN_OP_DECLS (%s, %s, %s, OCTAVE_API)\n", lhs_class,
@@ -192,6 +192,8 @@
 
 	  printf ("#include \"%s\"\n", h_file) >> cc_file;
 
+          printf ("#include \"mx-op-defs.h\"\n") >> cc_file;
+
 	  for (i in bool_headers)
 	    {
 	      printf ("#include \"%s\"\n", bool_headers[i]) >> cc_file;