summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 5f24c4e31d1a78f3144820accbaa3f68636be077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TARGET=midiplay

all: $(TARGET)

play:
	aplaymidi -p24 locked_out_of_heaven.midi

run-fcgi:
	spawn-fcgi -a 127.0.0.1 -p 9090 -n -- ./midiplay

midiplay.o: midiplay.cpp
	g++ -Wall -g -O2 -fPIC -o $@ -c $^

$(TARGET): midiplay.o
	g++ -Wall -g -O2 -fPIC -o $@ $^ -lfcgi -lreichwein -lfmt


clean:
	-rm -rf $(TARGET)