diff options
author | Tim <cpldcpu@gmail.com> | 2014-07-14 19:12:02 +0200 |
---|---|---|
committer | Tim <cpldcpu@gmail.com> | 2014-07-14 19:12:02 +0200 |
commit | 902b613ad809ac76e07301f4a4193e8de2e6250c (patch) | |
tree | 702df216172c1c9f30576b673e909a695cf27ace | |
parent | 1e6cfd178fc302e5dd269444063745dd7b7a66c0 (diff) | |
parent | a14f87bd23c5e5e4668f98c98ea6b6c143497887 (diff) | |
download | micronucleus-902b613ad809ac76e07301f4a4193e8de2e6250c.tar.gz micronucleus-902b613ad809ac76e07301f4a4193e8de2e6250c.tar.bz2 micronucleus-902b613ad809ac76e07301f4a4193e8de2e6250c.zip |
Merge pull request #51 from gkrnours/testing-V2-New
Support OpenBSD
-rw-r--r-- | commandline/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/commandline/Makefile b/commandline/Makefile index 3c52cb4..e8aadfd 100644 --- a/commandline/Makefile +++ b/commandline/Makefile @@ -20,6 +20,11 @@ else ifeq ($(shell uname), Darwin) # USBLIBS += -framework IOKit # Uncomment these to create a dual architecture binary: # OSFLAG += -arch x86_64 -arch i386 +else ifeq ($(shell uname), OpenBSD) + USBFLAGS=$(shell libusb-config --cflags || libusb-legacy-config --cflags) + USBLIBS=$(shell libusb-config --libs || libusb-legacy-config --libs) + EXE_SUFFIX = + OSFLAG = -D OPENBSD else USBFLAGS = -I C:\MinGW\include USBLIBS = -L C:\MinGW\lib -lusb |