1 ## Copyright (C) 2018 Matthew Fluet
2 # Copyright (C) 2005-2009 Henry Cejtin, Matthew Fluet, Suresh
3 # Jagannathan, and Stephen Weeks.
5 # MLton is released under a BSD-style license.
6 # See the file MLton-LICENSE for details.
12 ######################################################################
13 ######################################################################
15 SRC
:= $(shell cd ..
&& pwd
)
19 PATH
:= $(BIN
):$(shell echo
$$PATH)
23 ######################################################################
30 $(NAME
): $(NAME
).mlb
$(shell PATH
="$(BIN):$$PATH" && "$(MLTON)" -stop f
$(NAME
).mlb
)
31 @echo
'Compiling $(NAME)'
32 "$(MLTON)" @MLton
$(MLTON_RUNTIME_ARGS
) -- $(MLTON_COMPILE_ARGS
) -target
$(TARGET
) $(NAME
).mlb
39 cppcmd.sml
: gen-cppcmd