002aae48b9ff

Fix the makefile bullshit
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 08 Mar 2022 23:56:31 -0500
parents cb2e07924093
children 0329a2650981
branches/tags (none)
files Makefile build/.placeholder

Changes

--- a/Makefile	Tue Mar 08 23:49:49 2022 -0500
+++ b/Makefile	Tue Mar 08 23:56:31 2022 -0500
@@ -5,18 +5,18 @@
 # Build -----------------------------------------------------------------------
 lisps := $(shell ffind '\.(asd|lisp)$$')
 
-build:
-	mkdir -p build
-
-build/cacl-sbcl: build $(lisps)
+build/cacl-sbcl: $(lisps)
 	sbcl --load "src/build-binary.lisp"
 
-build/cacl-ccl: build $(lisps) bin/cacl-ccl
+build/cacl-ccl: $(lisps) bin/cacl-ccl
 	ccl --load "src/build-binary.lisp"
 	cp bin/cacl-ccl build/
 
-build/cacl-abcl: build $(lisps) bin/cacl-abcl
+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*