20 lines
360 B
Makefile
20 lines
360 B
Makefile
PREFIX ?= /usr/local
|
|
BINDIR ?= ${PREFIX}/bin
|
|
|
|
all: ce
|
|
|
|
ce: ce.cl ce.asd build.cl
|
|
ecl --load build.cl --eval '(quit)'
|
|
|
|
install: all
|
|
install ce ${DESTDIR}${BINDIR}
|
|
|
|
uninstall:
|
|
rm -f ${DESTDIR}${BINDIR}/ce
|
|
|
|
# warning: clean does not actually set up for a clean build,
|
|
# ecl annoyingly hides build artifacts in its secret cache folder
|
|
clean:
|
|
rm -f ce ce.fasb
|
|
|