1# currently, the configuration builds this directory without using Holmake 2# because we used to require mllex before we can build Holmake. That isn't 3# currently the case, but I expect it will be again. 4 5OBJ = mllex.exe 6EXTRA_CLEANS = $(OBJ) mllex.o 7OPTIONS = NO_SIGOBJ 8OBJ_DEPS = $(if $(MOSMLC),mllex.uo mosmlmain.uo,mllex.sml poly-mllex.ML) 9 10$(OBJ): $(OBJ_DEPS) 11 $(if $(MOSMLC),$(MOSMLC) -o $@ $(OBJ_DEPS),\ 12 poly < poly-mllex.ML && \ 13 cc -o $@ mllex.o $(POLYLIBS) -lpolymain -lpolyml) 14 15mosmlmain.uo mosmlmain.ui: mosmlmain.sml mllex.ui 16 $(MOSMLC) -c mllex.ui $< 17 18mllex.uo mllex.ui: mllex.sml 19 $(MOSMLC) -toplevel -c $< 20 21