mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-26 18:12:34 +08:00
20 lines
465 B
Makefile
20 lines
465 B
Makefile
|
include common/Makefile.common
|
||
|
|
||
|
ifeq ($(DETECTED_OS),Linux)
|
||
|
HOST_BINARY=linux
|
||
|
else
|
||
|
HOST_BINARY=winsrc
|
||
|
endif
|
||
|
|
||
|
all clean: %:
|
||
|
$(MAKE) -C bootrom $@
|
||
|
$(MAKE) -C armsrc $@
|
||
|
$(MAKE) -C $(HOST_BINARY) $@
|
||
|
|
||
|
.PHONY: all clean help
|
||
|
help:
|
||
|
@echo Multi-OS Makefile, you are running on $(DETECTED_OS)
|
||
|
@echo Possible targets:
|
||
|
@echo + all - Make bootrom, armsrc and the OS-specific host directory
|
||
|
@echo + clean - Clean in bootrom, armsrc and the OS-specific host directory
|
||
|
|