15 lines
287 B
Bash
Executable File
15 lines
287 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# build - script for build all files.
|
|
#
|
|
# Alexander Popov <iiiypuk@fastmail.fm>
|
|
|
|
export C_INCLUDE_PATH=$HOME/Git/libserialport
|
|
export LIBRARY_PATH=$HOME/Git/libserialport/.libs
|
|
|
|
for file in \
|
|
port_info.c
|
|
do
|
|
gcc -static -Wall -O3 -o ${file%.*} $file -lserialport
|
|
done
|