Made changes to get tomd working as a init program.
[tlb/tomd.git] / Makefile
index a785462..3affb96 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,9 @@
 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