all:tomd tomc
tomd:./src/tomd/main.c ./src/common/guile_helpers.c
- gcc -o tomd \
- ./src/tomd/main.c ./src/common/guile_helpers.c \
- -I/usr/include/guile/2.0 \
- -lguile-2.0
+ gcc -static -o tomd \
+ -I/usr/local/include/guile/2.2 \
+ ./src/tomd/main.c ./src/common/guile_helpers.c
-tomc:./src/tomc/main.c ./src/tomc/socket_read.c
- gcc -o tomc ./src/tomc/main.c ./src/tomc/socket_read.c
+tomc:./src/tomc/main.c ./src/common/socketio.c
+ gcc -o tomc ./src/tomc/main.c ./src/common/socketio.c -static