From 1cbeb8589e8f387410896992d930c360bfe44f52 Mon Sep 17 00:00:00 2001 From: Oleksandr Rybalko Date: Sun, 7 May 2017 22:12:33 +0300 Subject: Enable FreeBSD support --- commandline/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/commandline/Makefile b/commandline/Makefile index e8aadfd..b47e6d6 100644 --- a/commandline/Makefile +++ b/commandline/Makefile @@ -25,6 +25,11 @@ else ifeq ($(shell uname), OpenBSD) USBLIBS=$(shell libusb-config --libs || libusb-legacy-config --libs) EXE_SUFFIX = OSFLAG = -D OPENBSD +else ifeq ($(shell uname), FreeBSD) + USBFLAGS= + USBLIBS= -lusb + EXE_SUFFIX = + OSFLAG = -D OPENBSD else USBFLAGS = -I C:\MinGW\include USBLIBS = -L C:\MinGW\lib -lusb -- cgit v1.2.3