20 lines
525 B
Makefile
20 lines
525 B
Makefile
.PHONY: all clean test install dist distclean
|
|
|
|
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"
|
|
dist:
|
|
tar cvzf d-PRERELEASE.tar.gz configure Makefile.in test.scm d-.scm
|
|
distclean: clean
|
|
rm Makefile
|
|
%.go: %.scm
|
|
guild compile $^ -o $@
|