summaryrefslogtreecommitdiffstats
path: root/commandline/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'commandline/Makefile')
-rw-r--r--commandline/Makefile5
1 files changed, 5 insertions, 0 deletions
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