diff options
author | Tim <cpldcpu@gmail.com> | 2017-05-08 08:01:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-08 08:01:50 +0200 |
commit | e60abcc067a41f1a81a40b3f70930cc1da87ab55 (patch) | |
tree | 53db4541581c14b40ea25011ea715b523a79f656 /commandline/Makefile | |
parent | e7ab572566824eb226cc8b124c5ff4b358e61ad6 (diff) | |
parent | 1cbeb8589e8f387410896992d930c360bfe44f52 (diff) | |
download | micronucleus-e60abcc067a41f1a81a40b3f70930cc1da87ab55.tar.gz micronucleus-e60abcc067a41f1a81a40b3f70930cc1da87ab55.tar.bz2 micronucleus-e60abcc067a41f1a81a40b3f70930cc1da87ab55.zip |
Enable FreeBSD support
Diffstat (limited to 'commandline/Makefile')
-rw-r--r-- | commandline/Makefile | 5 |
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 |