* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MINGW_RULE_H
-#define MINGW_RULE_H
+#pragma once
#include "mingw.h"
+#include <map>
+
class Rule
{
public:
MingwBackend *backend,
const Module& module,
const FileLocation *source,
- string_list& clean_files );
+ string_list& clean_files,
+ const std::string& additional_dependencies = "",
+ const std::string& compiler_flags = "" ) const;
+ void Execute ( FILE *outputFile,
+ MingwBackend *backend,
+ const Module& module,
+ const FileLocation *source,
+ string_list& clean_files,
+ const std::string& additional_dependencies,
+ const std::string& compiler_flags,
+ const std::map<std::string, std::string>& custom_variables ) const;
private:
const std::string command;
string_list generatedFiles;
};
-
-#endif