]> git.zerfleddert.de Git - proxmark3-svn/blob - Makefile
Have the Windows batch files check for make
[proxmark3-svn] / Makefile
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 _test
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
21 # Dummy target to test for GNU make availability
22 _test:
Impressum, Datenschutz