-
Notifications
You must be signed in to change notification settings - Fork 0
/
msvc32.mak
66 lines (45 loc) · 3.41 KB
/
msvc32.mak
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
PLUGIN_NAME = 989snd-clef
cli: "$(PLUGIN_NAME).exe"
all: cli plugins
plugins: winamp foobar
audacious: "aud_$(PLUGIN_NAME).dll"
winamp: "in_$(PLUGIN_NAME).dll"
foobar: "foo_input_$(PLUGIN_NAME).dll"
libclef\src:
git submodules update --init --recursive
!include depends.mak
fmt\src\fm.obj: fmt\src\fm.cc
$(CPP) /std:c++latest /DUNICODE /D_UNICODE /DNDEBUG /Dbyte=uint8_t /O2 /EHsc /I src /I libclef\src /I src/sndplay/src /I fmt/include /I plugins\foobar2000 /I plugins /wd4814 /c /Fo$@ $<
fmt\src\format.obj: fmt\src\format.cc
$(CPP) /std:c++latest /DUNICODE /D_UNICODE /DNDEBUG /Dbyte=uint8_t /O2 /EHsc /I src /I libclef\src /I src/sndplay/src /I fmt/include /I plugins\foobar2000 /I plugins /wd4814 /c /Fo$@ $<
fmt\src\os.obj: fmt\src\os.cc
$(CPP) /std:c++latest /DUNICODE /D_UNICODE /DNDEBUG /Dbyte=uint8_t /O2 /EHsc /I src /I libclef\src /I src/sndplay/src /I fmt/include /I plugins\foobar2000 /I plugins /wd4814 /c /Fo$@ $<
.cpp.obj:
$(CPP) /std:c++latest /DUNICODE /D_UNICODE /DNDEBUG /Dbyte=uint8_t /O2 /EHsc /I src /I libclef\src /I src/sndplay/src /I fmt/include /I plugins\foobar2000 /I plugins /wd4814 /c /Fo$@ $<
plugins\foobarplugin.obj: plugins\clefplugin.cpp libclef\src\plugins\foobarplugin.h FORCE
$(CPP) /std:c++latest /DUNICODE /D_UNICODE /DNDEBUG /DBUILD_FOOBAR /O2 /EHsc /I src /I libclef\src /I plugins\foobar2000 /I plugins /c /Fo$@ plugins\clefplugin.cpp
plugins\audaciousplugin.obj: plugins\clefplugin.cpp libclef\src\plugins\audaciousplugin.h FORCE
$(CPP) /std:c++latest /DUNICODE /D_UNICODE /DNDEBUG /DBUILD_AUDACIOUS /O2 /EHsc /I src /I libclef\src /c /Fo$@ plugins\clefplugin.cpp
plugins\winampplugin.obj: plugins\clefplugin.cpp libclef\src\plugins\winampplugin.h FORCE
$(CPP) /std:c++latest /DUNICODE /D_UNICODE /DNDEBUG /DBUILD_WINAMP /O2 /EHsc /I src /I libclef\src /c /Fo$@ plugins\clefplugin.cpp
"$(PLUGIN_NAME).exe": src\main.obj
link.exe /subsystem:console /out:$@ $**
"aud_$(PLUGIN_NAME).dll": plugins\audaciousplugin.obj
link.exe /dll user32.lib /out:$@ $**
"in_$(PLUGIN_NAME).dll": plugins\winampplugin.obj
link.exe /dll user32.lib /out:$@ $**
"foo_input_$(PLUGIN_NAME).dll": plugins\foobarplugin.obj plugins\foobar2000\SDK\input.obj plugins\foobar2000\SDK\guids.obj \
plugins\foobar2000\SDK\file_info.obj plugins\foobar2000\SDK\file_info_impl.obj plugins\foobar2000\SDK\replaygain_info.obj \
plugins\foobar2000\SDK\console.obj plugins\foobar2000\SDK\service.obj plugins\foobar2000\SDK\cfg_var.obj \
plugins\foobar2000\SDK\abort_callback.obj plugins\foobar2000\SDK\audio_chunk.obj plugins\foobar2000\SDK\audio_chunk_channel_config.obj \
plugins\foobar2000\SDK\filesystem.obj plugins\foobar2000\SDK\filesystem_helper.obj plugins\foobar2000\SDK\componentversion.obj \
plugins\foobar2000\SDK\main_thread_callback.obj plugins\foobar2000\SDK\utility.obj plugins\foobar2000\SDK\playable_location.obj \
plugins\pfc\string_base.obj plugins\pfc\other.obj plugins\pfc\string_conv.obj plugins\pfc\bit_array.obj \
plugins\pfc\utf8.obj plugins\pfc\sort.obj plugins\pfc\win-objects.obj plugins\pfc\guid.obj plugins\pfc\audio_math.obj \
plugins\pfc\timers.obj plugins\pfc\audio_sample.obj plugins\pfc\pathUtils.obj plugins\pfc\stringNew.obj \
plugins\foobar2000\foobar2000_component_client\component_client.obj
link.exe /dll user32.lib ole32.lib shell32.lib plugins\foobar2000\shared\shared.lib /out:$@ $**
clean: FORCE
-cmd /c for /r %%f in (*.obj,*.dll,*.exp,*.exe) do del /q %%f
-del /q depends.tmp
FORCE: