Makefile @ 002aae48b9ff

Fix the makefile bullshit
author Steve Losh <steve@stevelosh.com>
date Tue, 08 Mar 2022 23:56:31 -0500
parents cb2e07924093
children (none)
.PHONY: all

all: build/cacl-sbcl build/cacl-ccl build/cacl-abcl build/cacl.1

# Build -----------------------------------------------------------------------
lisps := $(shell ffind '\.(asd|lisp)$$')

build/cacl-sbcl: $(lisps)
	sbcl --load "src/build-binary.lisp"

build/cacl-ccl: $(lisps) bin/cacl-ccl
	ccl --load "src/build-binary.lisp"
	cp bin/cacl-ccl build/

build/cacl-abcl: $(lisps) bin/cacl-abcl
	cp bin/cacl-abcl build/

build/cacl.1: build $(lisps)
	sbcl --load "src/build-manual.lisp" --quit

clean:
	rm build/cacl*