mirror of
https://github.com/kanaka/mal.git
synced 2024-08-17 01:30:26 +03:00
SML build with MLton
This commit is contained in:
parent
c4d1636b2f
commit
5cdd487de4
@ -1,13 +1,11 @@
|
||||
STEPS = step0_repl.sml
|
||||
|
||||
STEP_BINS = $(STEPS:%.sml=%)
|
||||
STEP_BINS = step0_repl
|
||||
|
||||
all: $(STEP_BINS)
|
||||
|
||||
$(STEP_BINS): %: %.sml
|
||||
mosmlc $< main.sml -o $@
|
||||
step0_repl: step0_repl.mlb step0_repl.sml main.sml
|
||||
mlton -output $@ $<
|
||||
|
||||
clean:
|
||||
rm -f $(STEP_BINS) *.ui *.uo
|
||||
rm -f $(STEP_BINS)
|
||||
|
||||
.PHONY: all clean
|
||||
|
6
impls/sml/step0_repl.mlb
Normal file
6
impls/sml/step0_repl.mlb
Normal file
@ -0,0 +1,6 @@
|
||||
local
|
||||
$(SML_LIB)/basis/basis.mlb
|
||||
step0_repl.sml
|
||||
in
|
||||
main.sml
|
||||
end
|
Loading…
Reference in New Issue
Block a user