Add prebuilt binary for OSX
This commit is contained in:
parent
b59709a37e
commit
3c0e5e6856
2 changed files with 8 additions and 1 deletions
9
Makefile
9
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
|
||||
|
|
BIN
binaries/osx/nmrp-flash
Executable file
BIN
binaries/osx/nmrp-flash
Executable file
Binary file not shown.
Loading…
Add table
Reference in a new issue