make install

This commit is contained in:
Devaev Maxim
2018-09-21 02:05:57 +03:00
parent e223d88287
commit 12dfc55aca

View File

@@ -1,3 +1,6 @@
DESTDIR ?=
PREFIX ?= /usr/local
LIBS = -lm -ljpeg -pthread -levent -levent_pthreads
CC = gcc
CFLAGS = -c -O3 -Wall -Wextra
@@ -10,6 +13,10 @@ PROG = ustreamer
all: $(SOURCES) $(PROG)
install: $(PROG)
install -Dm755 ustreamer $(DESTDIR)$(PREFIX)/bin/ustreamer
regen:
tools/make-jpg-h.py src/data/blank.jpg src/data/blank.h BLANK 640 480