summaryrefslogtreecommitdiff
path: root/Makefile
blob: be9ee9fca5fcd549e3fb25a8481bf53e293106fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
example/webrtcd: example/main.c tinyrtc.o
	$(CC) $(CFLAGS) -I. -o $@ example/main.c tinyrtc.o

tinyrtc.o: tinyrtc.c tinyrtc.h
	$(CC) $(CFLAGS) -I. -o $@ -c tinyrtc.c

.PHONY: clean
clean:
	rm -f tinyrtc.o example/webrtcd

.PHONY: run
run:
	websocketd --port=8080 --staticdir=example ./example/webrtcd