From: Joseph C. Lehner Date: Mon, 8 Feb 2016 14:26:09 +0000 (+0200) Subject: Add prebuilt binary for OSX X-Git-Tag: v0.9~11^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3c0e5e6856c1820b9e24e07c5ba3c1b9c2cf5e46;p=oweals%2Fnmrpflash.git Add prebuilt binary for OSX --- diff --git a/Makefile b/Makefile index f037615..c3dcb29 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ PREFIX ?= /usr/local CFLAGS += -Wall -g LIBS = -lpcap -.PHONY: clean install +.PHONY: clean install release release/osx release/linux nmrp-flash: nmrp.o tftp.o ethsock.o main.o $(CC) $(CFLAGS) -o nmrp-flash nmrp.o tftp.o ethsock.o main.o $(LIBS) @@ -26,3 +26,10 @@ clean: install: nmrp-flash install -m 755 nmrp-flash $(PREFIX)/bin +release/osx: + make clean release CFLAGS="-arch i686 -arch x86_64" + +release/linux: release + +release: nmrp-flash + strip nmrp-flash diff --git a/binaries/osx/nmrp-flash b/binaries/osx/nmrp-flash new file mode 100755 index 0000000..1044747 Binary files /dev/null and b/binaries/osx/nmrp-flash differ