comparison Makefile @ 1:2ad543b339f1

enhanced makefile
author Robert McIntyre <rlm@mit.edu>
date Fri, 21 Oct 2011 06:03:53 -0700
parents e38dacceb958
children c3248c71ae74
comparison
equal deleted inserted replaced
0:e38dacceb958 1:2ad543b339f1
1 spc_record:
2 1
3 2
4 whatever : snes_spc/SNES_SPC.cpp 3
5 g++ -c snes_spc/*.cpp 4 all : snes_core
5
6
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
10
11
12 build/dsp.o : snes_spc/dsp.cpp
13 g++ -c snes_spc/dsp.cpp -o build/dsp.o
14
15 build/SNES_SPC.o : snes_spc/SNES_SPC.cpp
16 g++ -c snes_spc/SNES_SPC.cpp -o build/SNES_SPC.o
17
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
20
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
23
24 build/spc.o : snes_spc/spc.cpp
25 g++ -c snes_spc/spc.cpp -o build/spc.o
26
27 build/SPC_DSP.o : snes_spc/SPC_DSP.cpp
28 g++ -c snes_spc/SPC_DSP.cpp -o build/SPC_DSP.o
29
30 build/SPC_Filter.o : snes_spc/SPC_Filter.cpp
31 g++ -c snes_spc/SPC_Filter.cpp -o build/SPC_Filter.o
32
33
6 34
7 35
8 36
9 clean: 37 clean:
10 find . \( -name "*.o" -print0 \) -o \ 38 find . \( -name "*.o" -print0 \) -o \