aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-04-26 14:15:13 +0200
committerHugo Hörnquist <hugo@hornquist.se>2019-04-26 14:15:13 +0200
commitb23f787d192802bd582841bf357dd7310f9e2914 (patch)
tree17724e07f03c28fb561d8611092a1ff37133fd7f
parentMade HTML day headers better. (diff)
downloadcalp-b23f787d192802bd582841bf357dd7310f9e2914.tar.gz
calp-b23f787d192802bd582841bf357dd7310f9e2914.tar.xz
Fix makefile so all also builds guile code.
-rw-r--r--Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 99f2aca9..e7dae809 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: all clean tests
+.PHONY: all clean tests guild-stuff guile-none
CC := gcc
@@ -24,7 +24,13 @@ X_FILES = $(SCM_C_FILES:.scm.c=.x)
O_FILES = $(C_FILES:src/%.c=obj/%.o)
-all: parse $(SO_FILES)
+all: parse $(SO_FILES) guild-stuff guile-none
+
+guild-stuff:
+ guild compile module/vcomponent/primitive.scm
+
+guile-none:
+ module/main.scm none
parse: $(O_FILES)
$(CC) -o $@ $^ $(LDFLAGS)
@@ -68,9 +74,7 @@ clean:
-rmdir $(OBJDIR)
-rm $(LIBDIR)/*.so
-rm $(SRCDIR)/*.x
-
-clean-scheme:
- rm -r $$HOME/.cache/guile/ccache/2.2-LE-8-3.A/$$PWD
+ -rm -r $$HOME/.cache/guile/ccache/2.2-LE-8-3.A/$$PWD
tests:
tests/run-tests.scm