diff options
author | Pete Batard <pbatard@gmail.com> | 2011-02-25 12:49:19 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2011-02-25 12:49:19 +0000 |
commit | ac1dcba5e2971e76f399596de744d587023b1045 (patch) | |
tree | 349bcf7efc2ab0b5a9e2127c46188823909974a8 /_bm.sh | |
parent | aefe4c8623db0676f81cfd1d611ae0a5a6e42da5 (diff) | |
download | libusb-ac1dcba5e2971e76f399596de744d587023b1045.tar.gz |
[INTERNAL - NOT FOP RELEASE] libusb.h -> include/libusb-1.0
* suggested by Chris Johns
* also copy the .def from MinGW to ensure regenerated one is used
Diffstat (limited to '_bm.sh')
-rw-r--r-- | _bm.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -3,12 +3,16 @@ # !!!THIS SCRIPT IS FOR INTERNAL DEVELOPER USE ONLY!!! date=`date +%Y.%m.%d` +target=e:/dailies/$date +mkdir -p $target/include/libusb-1.0 +cp -v libusb/libusb-1.0.def $target +cp -v libusb/libusb.h $target/include/libusb-1.0 # # 32 bit binaries # target=e:/dailies/$date/MinGW32 -git clean -f -d -x +git clean -fdx # Not using debug (-g) in CFLAGS DRAMATICALLY reduces the size of the binaries export CFLAGS="-O2 -m32" export LDFLAGS="-m32" @@ -44,4 +48,4 @@ mkdir -p $target/static mkdir -p $target/dll cp -v libusb/.libs/libusb-1.0.a $target/static cp -v libusb/.libs/libusb-1.0.dll $target/dll -cp -v libusb/.libs/libusb-1.0.dll.a $target/dll
\ No newline at end of file +cp -v libusb/.libs/libusb-1.0.dll.a $target/dll |