summaryrefslogtreecommitdiffhomepage
path: root/contrib/npclient/COMPILE.TXT
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-09 17:12:50 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 03:18:57 +0100
commit674c8a9f1a42b36940551a6ebaf953ad96d379d0 (patch)
tree8b92575c6605ef1a02fcab1f6fa63b99240de643 /contrib/npclient/COMPILE.TXT
parent9911a09fc51bedc00cdad2ce8651fc0802c10b1e (diff)
proto/freetrack, npclient: change deactivation method
- deactivates on its own after about 30 seconds no matter what - deactivates on opentrack stop - returns to neutral pose on deactivation - works with origin (all zeros) pose
Diffstat (limited to 'contrib/npclient/COMPILE.TXT')
-rw-r--r--contrib/npclient/COMPILE.TXT6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/npclient/COMPILE.TXT b/contrib/npclient/COMPILE.TXT
index cc562dd4..e61b6c14 100644
--- a/contrib/npclient/COMPILE.TXT
+++ b/contrib/npclient/COMPILE.TXT
@@ -1,7 +1,11 @@
+#!/bin/sh
+
# This makes small binaries:
CC=clang
CFLAGS='-Wall -Wextra -Wpedantic -Os -s -ffunction-sections -fdata-sections -Wl,--kill-at,--nxcompat,--dynamicbase,--as-needed,--gc-sections,--strip-all'
+cd -- "$(dirname -- "$0")" &&
PATH=/mingw32/bin:"$PATH" sh -c "$CC $CFLAGS -mdll -o NPClient.dll npclient.c" &&
-PATH=/mingw64/bin:"$PATH" sh -c "$CC $CFLAGS -mdll -o NPClient64.dll npclient.c"
+PATH=/mingw64/bin:"$PATH" sh -c "$CC $CFLAGS -mdll -o NPClient64.dll npclient.c" &&
+ls -l NPClient{64,}.dll && mv NPClient{64,}.dll ../../bin/