Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: cea4f61d439e5185bae4cdedf99c66e13b10639b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*******************************************************************************
 * Copyright (c) 2000, 2004 QNX Software Systems and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     QNX Software Systems - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.make.core.makefile;

/**
 * There are several kinds of rules: Inference rules, target rules
 * Some make provides special rules for example:
 * .DEFAULT, .IGNORE etc ...
 */
public interface IRule extends IParent {
	/**
	 *  Array of command for the rule.
	 * @return
	 */
	ICommand[] getCommands();

	/**
	 * The rule target name.
	 * @return
	 */
	ITarget getTarget();

}

Back to the top