X-Git-Url: https://git.distorted.org.uk/~mdw/fringe/blobdiff_plain/18b71d38307a6eebd659cf3f39229e987cfd20ee..3f23c90e9812b8af483b7d6068c8093e77689d5d:/Makefile diff --git a/Makefile b/Makefile index e83ae5e..fea0598 100644 --- a/Makefile +++ b/Makefile @@ -179,6 +179,15 @@ smalltalk-fringe: $(V_HIDE)chmod +x $@.new && mv $@.new $@ ###-------------------------------------------------------------------------- +### Forth. + +LANGS += forth +TARGETS += forth-fringe +SOURCES += forth-fringe.fth +forth-fringe: forth-fringe.fth + $(call v_echo,FORTHI)gforthmi $@ $< + +###-------------------------------------------------------------------------- ### Erlang. ERLC = erlc @@ -186,12 +195,12 @@ CLEANFILES += *.beam erl_crash.dump .SUFFIXES: .erl .beam .erl.beam:; $(call v_echo,ERLC)$(ERLC) $(ERLCFLAGS) $< -LANGS += erl -TARGETS += erl-fringe.beam -SOURCES += erl-fringe.erl -erl-fringe: +LANGS += erlang +TARGETS += erlang-fringe.beam +SOURCES += erlang-fringe.erl +erlang-fringe: $(call v_echo,GENSH){ echo '#! /bin/sh'; \ - echo 'exec erl -pa . -noshell -run erl-fringe main -extra "$$@"'; \ + echo 'exec erl -pa . -noshell -run erlang-fringe main -extra "$$@"'; \ } >$@.new $(V_HIDE)chmod +x $@.new && mv $@.new $@