view Makefile @ 2:c3248c71ae74

begin convert program
author Robert McIntyre <rlm@mit.edu>
date Fri, 21 Oct 2011 06:21:33 -0700
parents 2ad543b339f1
children 95cdedd01422
line wrap: on
line source



4 all : build/spc_convert
6 build/spc_convert : snes_core demo_utils build/spc_convert.o
7 g++ build/*.o -o build/spc_convert
9 build/spc_convert.o : convert/spc_convert.c
10 g++ -I . -c convert/spc_convert.c -o build/spc_convert.o
13 demo_utils : build/demo_util.o build/wave_writer.o
15 build/demo_util.o : demo/demo_util.c
16 g++ -c demo/demo_util.c -o build/demo_util.o
18 build/wave_writer.o : demo/wave_writer.c
19 g++ -c demo/wave_writer.c -o build/wave_writer.o
22 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 \
24 build/SPC_Filter.o
27 build/dsp.o : snes_spc/dsp.cpp
28 g++ -c snes_spc/dsp.cpp -o build/dsp.o
30 build/SNES_SPC.o : snes_spc/SNES_SPC.cpp
31 g++ -c snes_spc/SNES_SPC.cpp -o build/SNES_SPC.o
33 build/SNES_SPC_misc.o : snes_spc/SNES_SPC_misc.cpp
34 g++ -c snes_spc/SNES_SPC_misc.cpp -o build/SNES_SPC_misc.o
36 build/SNES_SPC_state.o : snes_spc/SNES_SPC_state.cpp
37 g++ -c snes_spc/SNES_SPC_state.cpp -o build/SNES_SPC_state.o
39 build/spc.o : snes_spc/spc.cpp
40 g++ -c snes_spc/spc.cpp -o build/spc.o
42 build/SPC_DSP.o : snes_spc/SPC_DSP.cpp
43 g++ -c snes_spc/SPC_DSP.cpp -o build/SPC_DSP.o
45 build/SPC_Filter.o : snes_spc/SPC_Filter.cpp
46 g++ -c snes_spc/SPC_Filter.cpp -o build/SPC_Filter.o
52 clean:
53 find . \( -name "*.o" -print0 \) -o \
54 \( -name "spc" -print0 \) | xargs -t -0 rm