Tiny initial tomc code.
[tlb/tomd.git] / Makefile
index bf84ead..448a7d9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,12 @@
 # TODO > Use GNU automake tools
 
-tomd:
-       gcc -o tomd ./src/main.c
+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
+
+tomc:./src/tomc/main.c
+       gcc -o tomc ./src/tomc/main.c