chiark / gitweb /
Makefile: Apparently Algol 68 Genie now has a compiler. Let's use it.
[fringe] / Makefile
index 226c97530e94eb6117ba5ccd1ea6b712bee21869..79af75445c094de78e50b2ffa880916621b5f570 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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.