view Makefile @ 1:2ad543b339f1

enhanced makefile
author Robert McIntyre <rlm@mit.edu>
date Fri, 21 Oct 2011 06:03:53 -0700
parents e38dacceb958
children c3248c71ae74
line wrap: on
line source



4 all : snes_core
7 snes_core : build/dsp.o build/SNES_SPC.o build/SNES_SPC_misc.o \
8 build/SNES_SPC_state.o build/spc.o build/SPC_DSP.o \
9 build/SPC_Filter.o
12 build/dsp.o : snes_spc/dsp.cpp
13 g++ -c snes_spc/dsp.cpp -o build/dsp.o
15 build/SNES_SPC.o : snes_spc/SNES_SPC.cpp
16 g++ -c snes_spc/SNES_SPC.cpp -o build/SNES_SPC.o
18 build/SNES_SPC_misc.o : snes_spc/SNES_SPC_misc.cpp
19 g++ -c snes_spc/SNES_SPC_misc.cpp -o build/SNES_SPC_misc.o
21 build/SNES_SPC_state.o : snes_spc/SNES_SPC_state.cpp
22 g++ -c snes_spc/SNES_SPC_state.cpp -o build/SNES_SPC_state.o
24 build/spc.o : snes_spc/spc.cpp
25 g++ -c snes_spc/spc.cpp -o build/spc.o
27 build/SPC_DSP.o : snes_spc/SPC_DSP.cpp
28 g++ -c snes_spc/SPC_DSP.cpp -o build/SPC_DSP.o
30 build/SPC_Filter.o : snes_spc/SPC_Filter.cpp
31 g++ -c snes_spc/SPC_Filter.cpp -o build/SPC_Filter.o
37 clean:
38 find . \( -name "*.o" -print0 \) -o \
39 \( -name "spc" -print0 \) | xargs -t -0 rm