mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-01 21:26:33 +00:00
make install
This commit is contained in:
7
Makefile
7
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user