Update to redirect logs to a file in /var/log/tomd
[tlb/tomd.git] / Makefile
index 9504537..395d64d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,11 @@
 
 all:tomd client
 
-tomd:
-       gcc -o tomd ./src/tomd/main.c
+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
 
-client:
+client:./src/dumb-client/main.c
        gcc -o client ./src/dumb-client/main.c