list ports
This commit is contained in:
parent
d4bde52745
commit
bdd87110c1
6
~/C/libserialport/.gitignore
vendored
6
~/C/libserialport/.gitignore
vendored
@ -1 +1,7 @@
|
|||||||
|
# libserialport examples
|
||||||
|
port_info.c
|
||||||
|
list_ports.c
|
||||||
|
|
||||||
|
# binaries
|
||||||
port_info
|
port_info
|
||||||
|
list_ports
|
||||||
|
@ -8,7 +8,9 @@ export C_INCLUDE_PATH=$HOME/Git/libserialport
|
|||||||
export LIBRARY_PATH=$HOME/Git/libserialport/.libs
|
export LIBRARY_PATH=$HOME/Git/libserialport/.libs
|
||||||
|
|
||||||
for file in \
|
for file in \
|
||||||
port_info.c
|
port_info.c \
|
||||||
|
list_ports.c \
|
||||||
|
|
||||||
do
|
do
|
||||||
gcc -static -Wall -O3 -o ${file%.*} $file -lserialport
|
gcc -static -Wall -O3 -o ${file%.*} $file -lserialport
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user