23 lines
361 B
Makefile
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
|