| 1 |
# Simple makefile to create method files from the inputs |
| 2 |
|
| 3 |
MAKEMETHOD := make_method |
| 4 |
METHODS := linux.proc.cpuinfo linux.proc.meminfo |
| 5 |
XPL_FILES := $(METHODS:=.xpl) |
| 6 |
|
| 7 |
%.xpl : %.code %.help %.base |
| 8 |
$(MAKEMETHOD) --base=$* |
| 9 |
|
| 10 |
all: $(XPL_FILES) |
| 11 |
|
| 12 |
clean: |
| 13 |
rm -f $(XPL_FILES) |