]>
Commit | Line | Data |
---|---|---|
db335b3d | 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 | ||
52b3d184 | 14 | .PHONY: all clean help _test |
db335b3d | 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 | |
52b3d184 | 20 | |
21 | # Dummy target to test for GNU make availability | |
22 | _test: |