summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 14f49d18d1e9baf3e12a63e097740daa6b45386b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
PREFIX=/usr/local

barcode-scanner: main.vala serial.vala web.vala
	valac --output $@ --pkg posix --pkg linux --pkg libsoup-2.4 $^

install: barcode-scanner
	install -m755 barcode-scanner $(DESTDIR)$(PREFIX)/bin/barcode-scanner

clean:
	rm -f barcode-scanner

.PHONY: clean install