rlm@2
|
1 all : build/spc_convert
|
rlm@2
|
2
|
rlm@2
|
3 build/spc_convert : snes_core demo_utils build/spc_convert.o
|
rlm@2
|
4 g++ build/*.o -o build/spc_convert
|
rlm@2
|
5
|
rlm@2
|
6 build/spc_convert.o : convert/spc_convert.c
|
rlm@2
|
7 g++ -I . -c convert/spc_convert.c -o build/spc_convert.o
|
rlm@2
|
8
|
rlm@2
|
9
|
rlm@2
|
10 demo_utils : build/demo_util.o build/wave_writer.o
|
rlm@2
|
11
|
rlm@2
|
12 build/demo_util.o : demo/demo_util.c
|
rlm@2
|
13 g++ -c demo/demo_util.c -o build/demo_util.o
|
rlm@2
|
14
|
rlm@2
|
15 build/wave_writer.o : demo/wave_writer.c
|
rlm@2
|
16 g++ -c demo/wave_writer.c -o build/wave_writer.o
|
rlm@1
|
17
|
rlm@1
|
18 snes_core : build/dsp.o build/SNES_SPC.o build/SNES_SPC_misc.o \
|
rlm@1
|
19 build/SNES_SPC_state.o build/spc.o build/SPC_DSP.o \
|
rlm@1
|
20 build/SPC_Filter.o
|
rlm@1
|
21
|
rlm@1
|
22 build/dsp.o : snes_spc/dsp.cpp
|
rlm@1
|
23 g++ -c snes_spc/dsp.cpp -o build/dsp.o
|
rlm@1
|
24
|
rlm@1
|
25 build/SNES_SPC.o : snes_spc/SNES_SPC.cpp
|
rlm@1
|
26 g++ -c snes_spc/SNES_SPC.cpp -o build/SNES_SPC.o
|
rlm@1
|
27
|
rlm@1
|
28 build/SNES_SPC_misc.o : snes_spc/SNES_SPC_misc.cpp
|
rlm@1
|
29 g++ -c snes_spc/SNES_SPC_misc.cpp -o build/SNES_SPC_misc.o
|
rlm@1
|
30
|
rlm@1
|
31 build/SNES_SPC_state.o : snes_spc/SNES_SPC_state.cpp
|
rlm@1
|
32 g++ -c snes_spc/SNES_SPC_state.cpp -o build/SNES_SPC_state.o
|
rlm@1
|
33
|
rlm@1
|
34 build/spc.o : snes_spc/spc.cpp
|
rlm@1
|
35 g++ -c snes_spc/spc.cpp -o build/spc.o
|
rlm@1
|
36
|
rlm@1
|
37 build/SPC_DSP.o : snes_spc/SPC_DSP.cpp
|
rlm@1
|
38 g++ -c snes_spc/SPC_DSP.cpp -o build/SPC_DSP.o
|
rlm@1
|
39
|
rlm@1
|
40 build/SPC_Filter.o : snes_spc/SPC_Filter.cpp
|
rlm@1
|
41 g++ -c snes_spc/SPC_Filter.cpp -o build/SPC_Filter.o
|
rlm@1
|
42
|
rlm@0
|
43 clean:
|
rlm@0
|
44 find . \( -name "*.o" -print0 \) -o \
|
rlm@3
|
45 \( -name "spc" -print0 \) -o \
|
rlm@3
|
46 \( -name "*.wav" -print0 \) \
|
rlm@3
|
47 | xargs -t -0 rm |