diff options
| author | soukev <soukev@soukev.xyz> | 2026-06-09 11:03:36 +0200 |
|---|---|---|
| committer | soukev <soukev@soukev.xyz> | 2026-06-09 11:03:36 +0200 |
| commit | 4e8cfa36133c9be9f9a31a5e212d47f65651f93b (patch) | |
| tree | d8120e372443bd5f7302b999b330ef032d7974aa /Makefile | |
| parent | 3692466424e33278e22faaa8c0c3ae61ac95ffd5 (diff) | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f91b2aa --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +BIN := cl-mdns + +LISP := sbcl + +.PHONY: all run install uninstall clean test + +all: + $(LISP) --non-interactive \ + --eval '(ql:quickload :cl-mdns)' \ + --eval '(asdf:make :cl-mdns)' + +run: + @ ./bin/$(BIN) + +test: + sbcl --non-interactive \ + --eval '(asdf:load-system :cl-mdns)' \ + --eval '(asdf:test-system :cl-mdns)' + +install: + install -Dm755 ./bin/$(BIN) $(DESTDIR)/usr/local/bin/$(BIN) + +uninstall: + rm -f $(DESTDIR)/usr/local/bin/$(BIN) + +clean: uninstall + rm -f ./bin/$(BIN) |
