Skip to content

Commit

Permalink
(Linux) Shell scripts for plugins in library
Browse files Browse the repository at this point in the history
-STG
  • Loading branch information
stg committed Apr 14, 2011
1 parent 0022761 commit 6b1b71f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions cli-make.sh
Expand Up @@ -12,17 +12,11 @@ gcc oswrap.c -c -I./include -o oswrap.o
echo Compiling srv.c...
gcc speech.c -c -I./include -o speech.o

echo Compiling plugins/ipv4udp/...
gcc plugins/ipv4udp/cli.c -c $CFLAGS -I./include -I./plugins -o ipv4udp_cli.o

echo Compiling plugins/kiwiray/...
gcc plugins/kiwiray/cli.c -c $CFLAGS -I./include -I./plugins -o kiwiray_cli.o

echo Compiling utils.c...
gcc utils.c -c $CFLAGS -I./include -o utils.o

echo Linking...
gcc cli.o oswrap.o cli_term.o speech.o utils.o ipv4udp_cli.o kiwiray_cli.o -L./lib-linux -lsam -l SDL -l avcodec -l avutil -l swscale -lz -o bin/cli
gcc cli.o oswrap.o cli_term.o speech.o utils.o -L./lib-linux -lsam -l SDL -l avcodec -l avutil -l swscale -lz -lrcplug_cli -o bin/cli

echo Cleaning up...
rm *.o
Expand Down
8 changes: 1 addition & 7 deletions srv-make.sh
Expand Up @@ -18,14 +18,8 @@ gcc oswrap.c -c $CFLAGS -I./include -o oswrap.o
echo Compiling utils.c...
gcc utils.c -c $CFLAGS -I./include -o utils.o

echo Compiling plugins/ipv4_udp/...
gcc plugins/ipv4udp/srv.c -c $CFLAGS -I./include -I./plugins -o ipv4udp_srv.o

echo Compiling plugins/kiwiray/...
gcc plugins/kiwiray/srv.c -c $CFLAGS -I./include -I./plugins -o kiwiray_srv.o

echo Linking...
g++ capture.o srv.o oswrap.o speech.o utils.o ipv4udp_srv.o kiwiray_srv.o $LFLAGS -L./lib-linux -lsam -lSDL -lcv -lhighgui -lx264 -l swscale -l avutil -l cv -o bin/srv
g++ capture.o srv.o oswrap.o speech.o utils.o $LFLAGS -L./lib-linux -lsam -lSDL -lcv -lhighgui -lx264 -lswscale -lavutil -lcv -lrcplug_srv -o bin/srv

echo Cleaning up...
rm *.o
Expand Down

0 comments on commit 6b1b71f

Please sign in to comment.