diff options
author | Chris Hiszpanski <chris.hiszpanski@verkada.com> | 2022-05-21 15:25:35 -0700 |
---|---|---|
committer | Chris Hiszpanski <chris.hiszpanski@verkada.com> | 2022-05-21 15:45:26 -0700 |
commit | 97261b79b20e4e53ef3a5b7a37d1ffb0b5665bcb (patch) | |
tree | 809099efc2ac9ccfb440776eda5c63b6a1970931 /Makefile | |
parent | 12df87e791ee6e468df31a6c468595b8c124a2b4 (diff) |
* Added trtc_ prefixes
* Split into tinyrtc.c/h
* Sending answer
* Answer validates
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1,6 +1,13 @@ -example/webrtcd: example/main.c tinyrtc.h - $(CC) $(CFLAGS) -I. -o $@ example/main.c +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 example/webrtcd + rm -f tinyrtc.o example/webrtcd + +.PHONY: run +run: + websocketd --port=8080 --staticdir=example ./example/webrtcd |