| 1 | ## Copyright (C) 2009,2018-2022 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. |
| 5 | # |
| 6 | # MLton is released under a HPND-style license. |
| 7 | # See the file MLton-LICENSE for details. |
| 8 | ## |
| 9 | |
| 10 | ROOT := .. |
| 11 | include $(ROOT)/Makefile.config |
| 12 | |
| 13 | ###################################################################### |
| 14 | |
| 15 | NAME := mlprof |
| 16 | |
| 17 | all: $(NAME) |
| 18 | |
| 19 | $(NAME): $(shell $(MLBDEPS) $(NAME).mlb) |
| 20 | @echo 'Compiling $(NAME)' |
| 21 | "$(RUN_MLTON)" @MLton $(RUN_MLTON_RUNTIME_ARGS) -- $(RUN_MLTON_COMPILE_ARGS) -target $(TARGET) $(NAME).mlb |
| 22 | |
| 23 | $(eval $(MK_COMMON_GOALS)) |