Author: ksprotte
Date: Fri Jan 18 05:27:28 2008
New Revision: 2348
Modified:
branches/bos/projects/bos/Makefile
Log:
some more targets to Makefile
Modified: branches/bos/projects/bos/Makefile
==============================================================================
--- branches/bos/projects/bos/Makefile (original)
+++ branches/bos/projects/bos/Makefile Fri Jan 18 05:27:28 2008
@@ -1,4 +1,5 @@
all: bos.core
+.PHONY: all
cmucl.core:
lisp -load make-base-lisp.lisp
@@ -6,8 +7,29 @@
bos.core: cmucl.core
./build.sh
-.PHONY: clean
-clean:
+.PHONY: cleancore
+cleancore:
rm -f cmucl.core
rm -f bos.core
+.PHONY: cleanfasl
+cleanfasl:
+ (cd ../.. && find . -name '*.x86f' | xargs rm)
+
+.PHONY: cleanall
+cleanall: cleancore cleanfasl
+
+.PHONY: clean
+clean: cleancore
+
+# I once had the problem that compiling
+# and loading a lisp source was fine,
+# but loading the pre-compiled fasl failed...
+
+.PHONY: crazy_build_test
+crazy_build_test:
+ make cleanall
+ make all
+ make cleancore
+ make all
+