Add makefile rule for mkdump.exe
[jpcrr.git] / streamtools / Makefile
blob4e8a2823f501ffe83fadd487a98681690e37c5d8
1 all: dumpframes.exe frameshow.exe rawtorgb.exe rawtoaudio2.exe mkdump.exe
3 rawtoaudio2.exe: rawtoaudio2.o opl.o audioconvert.o
4 g++ -g -o $@ $^ -lz `sdl-config --libs`
6 %.exe: %.o frame.o
7 gcc -g -o $@ $^ -lz `sdl-config --libs`
9 %.o: %.c frame.h
10 gcc -g -std=c99 -c -o $@ $< `sdl-config --cflags`
12 rawtoaudio2.o: rawtoaudio2.cpp
13 g++ -g -c -o $@ $< -DOPLTYPE_IS_OPL3 `sdl-config --cflags`
15 audioconvert.o: audioconvert.cpp
16 g++ -g -c -o $@ $< -DOPLTYPE_IS_OPL3 `sdl-config --cflags`
18 opl.o: opl.cpp opl.h
19 g++ -g -DINLINE=inline -DOPLTYPE_IS_OPL3 -DOPL_CPP -c -o $@ $<