aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-13 22:26:05 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-13 22:26:05 +0200
commit1bfa0fdbcb74da43730ed93249e16b77a9f85385 (patch)
tree28d50017750e4b5d2ea240c8813967389687de48 /Makefile
parentMerge branch 'calchooser' into master (diff)
downloadcalp-1bfa0fdbcb74da43730ed93249e16b77a9f85385.tar.gz
calp-1bfa0fdbcb74da43730ed93249e16b77a9f85385.tar.xz
Change static.css to scss.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cc30e302..afa6ffd0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-.PHONY: all clean test
+.PHONY: all clean test \
+ static
GUILE_SITE_DIR=$(shell guile -c "(display (%site-dir))")
GUILE_CCACHE_DIR=$(shell guile -c "(display (%site-ccache-dir))")
@@ -12,13 +13,17 @@ GUILE_C_FLAGS = -Lmodule \
-Wmacro-use-before-definition -Warity-mismatch \
-Wduplicate-case-datum -Wbad-case-datum
-all: $(GO_FILES) README
+all: $(GO_FILES) README static
+
+static:
+ $(MAKE) -C static
obj/%.scm.go: %.scm
@mkdir -p obj
guild compile $(GUILE_C_FLAGS) -o $@ $<
clean:
+ $(MAKE) -C static clean
-rm -r obj
install: