Mercurial > mxe-octave
comparison src/libusb.mk @ 3031:951da75fd09c
improve handling of cross tool prefix
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 09 Jun 2013 09:48:08 -0400 |
parents | b6c7244a2f66 |
children | 5ef49fb3299d |
comparison
equal
deleted
inserted
replaced
3030:0d67b4c363cd | 3031:951da75fd09c |
---|---|
20 $(SED) -i 's,\r$$,,' '$(1)/Makefile' | 20 $(SED) -i 's,\r$$,,' '$(1)/Makefile' |
21 | 21 |
22 # don't actually build the library (DLL file), | 22 # don't actually build the library (DLL file), |
23 # just create the DLL import stubs | 23 # just create the DLL import stubs |
24 $(MAKE) -C '$(1)' -j '$(JOBS)' host_prefix=$(TARGET) libusbd.a | 24 $(MAKE) -C '$(1)' -j '$(JOBS)' host_prefix=$(TARGET) libusbd.a |
25 cd '$(1)' && $(TARGET)-dlltool \ | 25 cd '$(1)' && $(MXE_DLLTOOL) \ |
26 --dllname libusb0.dll \ | 26 --dllname libusb0.dll \ |
27 --kill-at \ | 27 --kill-at \ |
28 --add-stdcall-underscore \ | 28 --add-stdcall-underscore \ |
29 --def libusb0.def \ | 29 --def libusb0.def \ |
30 --output-lib libusb.a | 30 --output-lib libusb.a |