-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (19 loc) · 809 Bytes
/
Copy pathMakefile
File metadata and controls
27 lines (19 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
COMPILER = gmcs
OUTDIR = bin
VPATH = $(OUTDIR)
all: ffmpeg-sharp.dll MWFVideoPlayer.exe
ffmpeg-sharp: ffmpeg-sharp.dll
ffmpeg-sharp.dll: src/*/*/*.cs src/*/*.cs src/*.cs
mkdir -p $(OUTDIR)
$(COMPILER) -debug -unsafe -target:library -out:$(OUTDIR)/$@ $^
cp src/ffmpeg-sharp.dll.config $(OUTDIR)
MWFVIDEOPLAYER_FILES = examples/VideoPlayer/*.cs examples/VideoPlayer/Properties/*.cs
MWFVideoPlayer.exe: $(MWFVIDEOPLAYER_FILES) ffmpeg-sharp.dll
$(COMPILER) -debug -out:$(OUTDIR)/$@ $(MWFVIDEOPLAYER_FILES) \
-r:$(OUTDIR)/ffmpeg-sharp.dll -r:System.Drawing.dll \
-r:System.Windows.Forms.dll
clean:
rm -f $(OUTDIR)/ffmpeg-sharp.dll $(OUTDIR)/MWFVideoPlayer.exe \
$(OUTDIR)/ffmpeg-sharp.dll.mdb $(OUTDIR)/MWFVideoPlayer.exe.mdb \
$(OUTDIR)/ffmpeg-sharp.dll.config
.PHONY: all ffmpeg-sharp clean