X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2Flib%2FMakefile;h=04a4c1cb89e6c2296fa074c762deca202d93409e;hp=8f305be1bc8764da41e847ed0535ce7b28d74bd2;hb=459a225bc7b21d467185687889e1fba06bb06f44;hpb=a2aad1d1cd16159cae9ec74825754f33b5968bb5 diff --git a/client/lib/Makefile b/client/lib/Makefile index 8f305be..04a4c1c 100644 --- a/client/lib/Makefile +++ b/client/lib/Makefile @@ -7,3 +7,6 @@ hidapi-linux2-x86_64.so: hidapi-linux2-x86_32.so: make -C hidapi/linux EXTRA_CFLAGS=-m32 clean hidapi.so && mv hidapi/linux/hidapi.so $@ + +hidapi-darwin.dylib: hidapi/mac/hid.c + gcc -dynamiclib -Wl,-headerpad_max_install_names,-undefined,dynamic_lookup,-compatibility_version,1.0,-current_version,1.0,-install_name,$@ -o $@ $< -I hidapi/hidapi -framework IOKit \ No newline at end of file