go-fringe.go: Remove all of the `;' statement terminators.
[fringe] / Makefile
index 0d87af1..79af754 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -109,16 +109,16 @@ icon-fringe: icon-fringe.icn
 
 CLEANFILES             += *.core *.fasl
 
+SBCL_BUILD              = ./sbcl-build
+
 .SUFFIXES: .lisp .fasl
 .lisp.fasl:
-       $(call v_echo,CL)sbcl --noinform --eval \
-               '(quit :unix-status (if (compile-file "$<" :verbose nil :print nil) 0 1))'
+       $(call v_echo,CL)$(SBCL_BUILD) build $<
 
 LANGS                  += cl
 SOURCES                        += cl-fringe.lisp
 cl-fringe: cl-fringe.fasl
-       $(call v_echo,CP)cp $< $@.new && chmod +x $@.new && mv $@.new $@
-##     $(call v_echo,CL)cl-launch -o $@ -f `pwd`/$^ +I -r launch -d $@.core
+       $(call v_echo,CLLD)$(SBCL_BUILD) link $@ $^
 
 ###--------------------------------------------------------------------------
 ### F#.
@@ -201,17 +201,14 @@ erlang-fringe:
 ###--------------------------------------------------------------------------
 ### Algol 68.
 
-ALGOL68                         = /usr/local/bin/a68g
+A68G                    = /usr/local/bin/a68g
 
 LANGS                  += algol68
 TARGETS                        += algol68-fringe
 SOURCES                        += algol68-fringe.a68
 
 algol68-fringe: algol68-fringe.a68
-       $(call v_echo,GENSH){ echo '#! $(ALGOL68) --script';            \
-         cat $<;                                                       \
-       } >$@.new
-       $(V_HIDE)chmod +x $@.new && mv $@.new $@
+       $(call v_echo,A68)$(A68G) --compile -O2 $< && mv $@.sh $@
 
 ###--------------------------------------------------------------------------
 ### Dylan.