-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
16 lines (12 loc) · 707 Bytes
/
Makefile
File metadata and controls
16 lines (12 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.PHONY: test
test: bin/NetOptics.Test.exe
@mono $^
.PHONY: clean
clean:
@rm -rf bin
bin/NetOptics.dll: NetOptics.Optic.fsi NetOptics.Optic.fs NetOptics.History.fsi NetOptics.History.fs NetOptics.fs
@fsharpc --nologo --target:library --out:$@ $(patsubst %,--reference:%,$(filter %.dll,$^)) $(filter %.fs %.fsi,$^)
bin/NetAtom.dll: System.Reactive.dll bin/NetOptics.dll NetAtom.fs NetAtom.Atom.fsi NetAtom.Atom.fs
@fsharpc --nologo --target:library --out:$@ $(patsubst %,--reference:%,$(filter %.dll,$^)) $(filter %.fs %.fsi,$^)
bin/NetOptics.Test.exe: bin/NetOptics.dll NetOptics.Test.fs
@fsharpc --nologo --target:exe --out:$@ $(patsubst %,--reference:%,$(filter %.dll,$^)) $(filter %.fs %.fsi,$^)