diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-04-26 14:15:13 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-04-26 14:15:13 +0200 |
commit | b23f787d192802bd582841bf357dd7310f9e2914 (patch) | |
tree | 17724e07f03c28fb561d8611092a1ff37133fd7f | |
parent | Made HTML day headers better. (diff) | |
download | calp-b23f787d192802bd582841bf357dd7310f9e2914.tar.gz calp-b23f787d192802bd582841bf357dd7310f9e2914.tar.xz |
Fix makefile so all also builds guile code.
Diffstat (limited to '')
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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 |