]> Shamusworld >> Repos - thunder/blob - test/mcu-sound.mak
Added V63701, YM2151 emulation, more SDL 2 fixes.
[thunder] / test / mcu-sound.mak
1 # Makefile for MCU sound test
2
3 OBJS = mcu-sound.o v63701.o ym2151.o dis63701.o
4 LIBS = `sdl2-config --libs`
5
6 all: mcu-sound
7
8 .PHONY: clean
9
10 clean:
11         -rm $(OBJS) mcu-sound
12
13 %.o: %.cpp
14         g++ -c $< -g
15
16 %.o: %.c
17         g++ -c $< -g
18
19 mcu-sound: $(OBJS)
20         g++ -o $@ $(OBJS) $(LIBS)
21
22 # Dependencies
23
24 mcu-sound: mcu-sound.cpp
25 mcu-sound.cpp: v63701.cpp v63701.h dis63701.cpp dis63701.h
26 v63701.cpp: v63701.h
27 dis63701.cpp: dis63701.h
28
29 v63701.o: v63701.cpp v63701.h
30 dis63701.o: dis63701.cpp dis63701.h
31 mcu-sound.o: mcu-sound.cpp
32