tests/ansible/Makefile
raw| 1 | |
| 2 | SYSTEM=$(shell uname -s) |
| 3 | |
| 4 | TARGETS+=lib/modules/custom_binary_producing_junk_$(SYSTEM) |
| 5 | TARGETS+=lib/modules/custom_binary_producing_json_$(SYSTEM) |
| 6 | |
| 7 | all: clean $(TARGETS) |
| 8 | |
| 9 | lib/modules/custom_binary_producing_junk_$(SYSTEM): lib/modules.src/custom_binary_producing_junk.c |
| 10 | $(CC) -o $@ $< |
| 11 | |
| 12 | lib/modules/custom_binary_producing_json_$(SYSTEM): lib/modules.src/custom_binary_producing_json.c |
| 13 | $(CC) -o $@ $< |
| 14 | |
| 15 | clean: |
| 16 | rm -f $(TARGETS) |