cl-chat-web/makefile
2024-10-11 16:45:22 -04:00

23 lines
361 B
Makefile

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