comparison Makefile @ 3:95cdedd01422

allow user to select number of seconds to convert
author Robert McIntyre <rlm@mit.edu>
date Fri, 21 Oct 2011 06:44:35 -0700
parents c3248c71ae74
children 6a2c890c22db
comparison
equal deleted inserted replaced
2:c3248c71ae74 3:95cdedd01422
1
2
3
4 all : build/spc_convert 1 all : build/spc_convert
5 2
6 build/spc_convert : snes_core demo_utils build/spc_convert.o 3 build/spc_convert : snes_core demo_utils build/spc_convert.o
7 g++ build/*.o -o build/spc_convert 4 g++ build/*.o -o build/spc_convert
8 5
16 g++ -c demo/demo_util.c -o build/demo_util.o 13 g++ -c demo/demo_util.c -o build/demo_util.o
17 14
18 build/wave_writer.o : demo/wave_writer.c 15 build/wave_writer.o : demo/wave_writer.c
19 g++ -c demo/wave_writer.c -o build/wave_writer.o 16 g++ -c demo/wave_writer.c -o build/wave_writer.o
20 17
21
22 snes_core : build/dsp.o build/SNES_SPC.o build/SNES_SPC_misc.o \ 18 snes_core : build/dsp.o build/SNES_SPC.o build/SNES_SPC_misc.o \
23 build/SNES_SPC_state.o build/spc.o build/SPC_DSP.o \ 19 build/SNES_SPC_state.o build/spc.o build/SPC_DSP.o \
24 build/SPC_Filter.o 20 build/SPC_Filter.o
25
26 21
27 build/dsp.o : snes_spc/dsp.cpp 22 build/dsp.o : snes_spc/dsp.cpp
28 g++ -c snes_spc/dsp.cpp -o build/dsp.o 23 g++ -c snes_spc/dsp.cpp -o build/dsp.o
29 24
30 build/SNES_SPC.o : snes_spc/SNES_SPC.cpp 25 build/SNES_SPC.o : snes_spc/SNES_SPC.cpp
43 g++ -c snes_spc/SPC_DSP.cpp -o build/SPC_DSP.o 38 g++ -c snes_spc/SPC_DSP.cpp -o build/SPC_DSP.o
44 39
45 build/SPC_Filter.o : snes_spc/SPC_Filter.cpp 40 build/SPC_Filter.o : snes_spc/SPC_Filter.cpp
46 g++ -c snes_spc/SPC_Filter.cpp -o build/SPC_Filter.o 41 g++ -c snes_spc/SPC_Filter.cpp -o build/SPC_Filter.o
47 42
48
49
50
51
52 clean: 43 clean:
53 find . \( -name "*.o" -print0 \) -o \ 44 find . \( -name "*.o" -print0 \) -o \
54 \( -name "spc" -print0 \) | xargs -t -0 rm 45 \( -name "spc" -print0 \) -o \
46 \( -name "*.wav" -print0 \) \
47 | xargs -t -0 rm