File tree 4 files changed +37
-0
lines changed
4 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ POLYML ?= poly
3
+ POLYMLC ?= polyc
4
+
5
+ SRC := $(wildcard src/*.sml)
6
+
7
+
8
+ all: smlunit
9
+
10
+
11
+ .PHONY: smlunit
12
+ smlunit: polyml_make.sml
13
+ $(POLYML) -q --error-exit --use ./usesig.sml < polyml_make.sml
14
+
15
+
16
+ smlunit-test-poly.o: test/export.sml $(SRC)
17
+ $(POLYML) -q --error-exit < test/export.sml
18
+
19
+
20
+ smlunit-test-poly: smlunit-test-poly.o
21
+ $(POLYMLC) -o $@ $^
22
+
23
+
24
+ test: smlunit-test-poly
25
+ ./smlunit-test-poly
26
+
27
+
28
+ PHOENY: clean
29
+ clean:
30
+ $(RM) smlunit-test-poly
31
+ $(RM) smlunit-test-poly.o
32
+
Original file line number Diff line number Diff line change
1
+ val _ = PolyML.make " src/main"
Original file line number Diff line number Diff line change
1
+
2
+ structure SMLUnit = SMLUnit
3
+
Original file line number Diff line number Diff line change
1
+ val _ = PolyML.suffixes := " .sig" ::(!PolyML.suffixes)
You can’t perform that action at this time.
0 commit comments