]>
Commit | Line | Data |
---|---|---|
1 | include common/Makefile.common | |
2 | ||
3 | ifeq ($(DETECTED_OS),Linux) | |
4 | HOST_BINARY=linux | |
5 | else | |
6 | HOST_BINARY=winsrc | |
7 | endif | |
8 | ||
9 | all clean: %: | |
10 | $(MAKE) -C bootrom $@ | |
11 | $(MAKE) -C armsrc $@ | |
12 | $(MAKE) -C $(HOST_BINARY) $@ | |
13 | ||
14 | .PHONY: all clean help | |
15 | help: | |
16 | @echo Multi-OS Makefile, you are running on $(DETECTED_OS) | |
17 | @echo Possible targets: | |
18 | @echo + all - Make bootrom, armsrc and the OS-specific host directory | |
19 | @echo + clean - Clean in bootrom, armsrc and the OS-specific host directory | |
20 |