view Makefile @ 6:a012d31df380

Made convert.pl work in parallel. Restored files in less than 2 minutes!
author Robert McIntyre <rlm@mit.edu>
date Fri, 21 Oct 2011 07:23:22 -0700
parents 95cdedd01422
children 6a2c890c22db
line wrap: on
line source
1 all : build/spc_convert
3 build/spc_convert : snes_core demo_utils build/spc_convert.o
4 g++ build/*.o -o build/spc_convert
6 build/spc_convert.o : convert/spc_convert.c
7 g++ -I . -c convert/spc_convert.c -o build/spc_convert.o
10 demo_utils : build/demo_util.o build/wave_writer.o
12 build/demo_util.o : demo/demo_util.c
13 g++ -c demo/demo_util.c -o build/demo_util.o
15 build/wave_writer.o : demo/wave_writer.c
16 g++ -c demo/wave_writer.c -o build/wave_writer.o
18 snes_core : build/dsp.o build/SNES_SPC.o build/SNES_SPC_misc.o \
19 build/SNES_SPC_state.o build/spc.o build/SPC_DSP.o \
20 build/SPC_Filter.o
22 build/dsp.o : snes_spc/dsp.cpp
23 g++ -c snes_spc/dsp.cpp -o build/dsp.o
25 build/SNES_SPC.o : snes_spc/SNES_SPC.cpp
26 g++ -c snes_spc/SNES_SPC.cpp -o build/SNES_SPC.o
28 build/SNES_SPC_misc.o : snes_spc/SNES_SPC_misc.cpp
29 g++ -c snes_spc/SNES_SPC_misc.cpp -o build/SNES_SPC_misc.o
31 build/SNES_SPC_state.o : snes_spc/SNES_SPC_state.cpp
32 g++ -c snes_spc/SNES_SPC_state.cpp -o build/SNES_SPC_state.o
34 build/spc.o : snes_spc/spc.cpp
35 g++ -c snes_spc/spc.cpp -o build/spc.o
37 build/SPC_DSP.o : snes_spc/SPC_DSP.cpp
38 g++ -c snes_spc/SPC_DSP.cpp -o build/SPC_DSP.o
40 build/SPC_Filter.o : snes_spc/SPC_Filter.cpp
41 g++ -c snes_spc/SPC_Filter.cpp -o build/SPC_Filter.o
43 clean:
44 find . \( -name "*.o" -print0 \) -o \
45 \( -name "spc" -print0 \) -o \
46 \( -name "*.wav" -print0 \) \
47 | xargs -t -0 rm