Skip to content
Permalink
398615020d
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
31 lines (17 sloc) 811 Bytes
# https://gist.github.com/martinsik/3216369
all: bcupd inotify /project/barcode/html/lws/bcupd.html /project/barcode/html/lws/watch.html /project/barcode/html/lws/watch-min.html
# CFLAGS=-I/project/barcode/include -g -DEXTERNAL_POLL=1
CFLAGS=-I/project/barcode/include -g
LDFLAGS=-L/project/barcode/lib -Wl,-rpath=/project/barcode/lib/ -lm -lwebsockets
.PHONY: nice
# -Wall -Werror -Wextra -pedantic
.PHONY: clean
rm bcupd
bcupd.restart:
xterm -e /project/barcode/src/barcode-updater/bcupd &
/project/barcode/html/lws/bcupd.html: bcupd.html
cp -v bcupd.html /project/barcode/html/lws/
/project/barcode/html/lws/watch.html: watch.html
cp -v watch.html /project/barcode/html/lws/
/project/barcode/html/lws/watch-min.html: watch-min.html
cp -v watch-min.html /project/barcode/html/lws/