cl-chat-web/makefile

23 lines
361 B
Makefile
Raw Permalink Normal View History

2024-10-11 16:45:22 -04:00
PROG := live-chat
SRC := $(wildcard *.asd) $(wildcard *.lisp)
BIN := $(PROG).bin
all: install
install: $(BIN)
bin/$(PROG): $(SRC)
sbcl --load $< \
--eval "(load \"live-chat.asd\")" \
--eval "(asdf:load-system :live-chat)" \
--eval "(asdf:make 'live-chat)"
$(BIN): bin/$(PROG)
mv $< $@
clean:
$(RM) -rf *~ bin $(BIN)
.PHONY: all install