mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 05:43:23 -07:00
fix OS detection, libgcc detection
This commit is contained in:
parent
1dea88f976
commit
d5be6f7cd4
3 changed files with 34 additions and 44 deletions
14
Makefile
14
Makefile
|
@ -1,21 +1,13 @@
|
|||
include common/Makefile.common
|
||||
|
||||
ifeq ($(DETECTED_OS),Linux)
|
||||
HOST_BINARY=linux
|
||||
else
|
||||
HOST_BINARY=winsrc
|
||||
endif
|
||||
|
||||
all clean: %: bootrom/% armsrc/% $(HOST_BINARY)/%
|
||||
all clean: %: bootrom/% armsrc/% client/%
|
||||
|
||||
bootrom/%: FORCE
|
||||
$(MAKE) -C bootrom $(patsubst bootrom/%,%,$@)
|
||||
armsrc/%: FORCE
|
||||
$(MAKE) -C armsrc $(patsubst armsrc/%,%,$@)
|
||||
linux/%: FORCE
|
||||
$(MAKE) -C linux $(patsubst linux/%,%,$@)
|
||||
winsrc/%: FORCE
|
||||
$(MAKE) -C winsrc $(patsubst winsrc/%,%,$@)
|
||||
client/%: FORCE
|
||||
$(MAKE) -C client $(patsubst client/%,%,$@)
|
||||
FORCE: # Dummy target to force remake in the subdirectories, even if files exist (this Makefile doesn't know about the prerequisites)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue