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