X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/269a820f9e9eed1ce34f39e9eb2b5df399a31bdc..db335b3de0cbe71cabe37931aa085cffa0032239:/Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..2c95cc14 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +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 + \ No newline at end of file