###--------------------------------------------------------------------------
### Common Lisp.
-CLEANFILES += *.core
+CLEANFILES += *.core *.fasl
+
+.SUFFIXES: .lisp .fasl
+.lisp.fasl:; sbcl --eval '(quit :unix-status (if (compile-file "$<") 0 1))'
LANGS += cl
SOURCES += cl-fringe.lisp
-cl-fringe: cl-fringe.lisp
-## cl-launch -R -o $@ -f `pwd`/$^ -- slow to start
- cl-launch -o $@ -f `pwd`/$^ +I -r launch -d $@.core
+cl-fringe: cl-fringe.fasl
+ cp $< $@.new && chmod +x $@.new && mv $@.new $@
+## cl-launch -o $@ -f `pwd`/$^ +I -r launch -d $@.core
###--------------------------------------------------------------------------
### F#.