Mercurial > spc_convert
annotate Makefile @ 1:2ad543b339f1
enhanced makefile
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 21 Oct 2011 06:03:53 -0700 |
parents | e38dacceb958 |
children | c3248c71ae74 |
rev | line source |
---|---|
rlm@0 | 1 |
rlm@0 | 2 |
rlm@1 | 3 |
rlm@1 | 4 all : snes_core |
rlm@1 | 5 |
rlm@1 | 6 |
rlm@1 | 7 snes_core : build/dsp.o build/SNES_SPC.o build/SNES_SPC_misc.o \ |
rlm@1 | 8 build/SNES_SPC_state.o build/spc.o build/SPC_DSP.o \ |
rlm@1 | 9 build/SPC_Filter.o |
rlm@1 | 10 |
rlm@1 | 11 |
rlm@1 | 12 build/dsp.o : snes_spc/dsp.cpp |
rlm@1 | 13 g++ -c snes_spc/dsp.cpp -o build/dsp.o |
rlm@1 | 14 |
rlm@1 | 15 build/SNES_SPC.o : snes_spc/SNES_SPC.cpp |
rlm@1 | 16 g++ -c snes_spc/SNES_SPC.cpp -o build/SNES_SPC.o |
rlm@1 | 17 |
rlm@1 | 18 build/SNES_SPC_misc.o : snes_spc/SNES_SPC_misc.cpp |
rlm@1 | 19 g++ -c snes_spc/SNES_SPC_misc.cpp -o build/SNES_SPC_misc.o |
rlm@1 | 20 |
rlm@1 | 21 build/SNES_SPC_state.o : snes_spc/SNES_SPC_state.cpp |
rlm@1 | 22 g++ -c snes_spc/SNES_SPC_state.cpp -o build/SNES_SPC_state.o |
rlm@1 | 23 |
rlm@1 | 24 build/spc.o : snes_spc/spc.cpp |
rlm@1 | 25 g++ -c snes_spc/spc.cpp -o build/spc.o |
rlm@1 | 26 |
rlm@1 | 27 build/SPC_DSP.o : snes_spc/SPC_DSP.cpp |
rlm@1 | 28 g++ -c snes_spc/SPC_DSP.cpp -o build/SPC_DSP.o |
rlm@1 | 29 |
rlm@1 | 30 build/SPC_Filter.o : snes_spc/SPC_Filter.cpp |
rlm@1 | 31 g++ -c snes_spc/SPC_Filter.cpp -o build/SPC_Filter.o |
rlm@1 | 32 |
rlm@1 | 33 |
rlm@0 | 34 |
rlm@0 | 35 |
rlm@0 | 36 |
rlm@0 | 37 clean: |
rlm@0 | 38 find . \( -name "*.o" -print0 \) -o \ |
rlm@0 | 39 \( -name "spc" -print0 \) | xargs -t -0 rm |