]> Shamusworld >> Repos - thunder/blobdiff - test/mcu-sound.mak
Added V63701, YM2151 emulation, more SDL 2 fixes.
[thunder] / test / mcu-sound.mak
diff --git a/test/mcu-sound.mak b/test/mcu-sound.mak
new file mode 100644 (file)
index 0000000..2c554d6
--- /dev/null
@@ -0,0 +1,32 @@
+# Makefile for MCU sound test
+
+OBJS = mcu-sound.o v63701.o ym2151.o dis63701.o
+LIBS = `sdl2-config --libs`
+
+all: mcu-sound
+
+.PHONY: clean
+
+clean:
+       -rm $(OBJS) mcu-sound
+
+%.o: %.cpp
+       g++ -c $< -g
+
+%.o: %.c
+       g++ -c $< -g
+
+mcu-sound: $(OBJS)
+       g++ -o $@ $(OBJS) $(LIBS)
+
+# Dependencies
+
+mcu-sound: mcu-sound.cpp
+mcu-sound.cpp: v63701.cpp v63701.h dis63701.cpp dis63701.h
+v63701.cpp: v63701.h
+dis63701.cpp: dis63701.h
+
+v63701.o: v63701.cpp v63701.h
+dis63701.o: dis63701.cpp dis63701.h
+mcu-sound.o: mcu-sound.cpp
+