1 ## Copyright (C) 2009,2018 Matthew Fluet.
2 # Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh
3 # Jagannathan, and Stephen Weeks.
4 # Copyright (C) 1997-2000 NEC Research Institute.
6 # MLton is released under a BSD-style license.
7 # See the file MLton-LICENSE for details.
13 ######################################################################
14 ######################################################################
16 SRC
:= $(shell cd ..
&& pwd
)
20 PATH
:= $(BIN
):$(shell echo
$$PATH)
24 ######################################################################
31 $(NAME
): $(NAME
).mlb
$(shell PATH
="$(BIN):$$PATH" && "$(MLTON)" -stop f
$(NAME
).mlb
)
32 @echo
'Compiling $(NAME)'
33 "$(MLTON)" @MLton
$(MLTON_RUNTIME_ARGS
) -- $(MLTON_COMPILE_ARGS
) -target
$(TARGET
) $(NAME
).mlb