16 lines
411 B
Makefile
16 lines
411 B
Makefile
|
.PHONY: all clean test install todo
|
||
|
|
||
|
all: d-.go
|
||
|
clean:
|
||
|
rm -rf d-.go
|
||
|
test:
|
||
|
guile -L . test.scm
|
||
|
install: d-.scm d-.go
|
||
|
install -D -t "$(INSTALL_PREFIX)/share/guile/site/3.0/" d-.scm
|
||
|
install -D -t "$(INSTALL_PREFIX)/lib/guile/3.0/site-ccache/" d-.go
|
||
|
uninstall:
|
||
|
rm -f "$(INSTALL_PREFIX)/share/guile/site/3.0/d-.scm"
|
||
|
rm -f "$(INSTALL_PREFIX)/lib/guile/3.0/site-ccache/d-.go"
|
||
|
%.go: %.scm
|
||
|
guild compile $^ -o $@
|