blob: 131f46a62b258fff5c48c70743533f7e0a730c63 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
PREFIX:=/usr/local
all: hackvr hackvr_term
.PHONY: hackvr hackvr_term clean install uninstall all
hackvr:
$(MAKE) -C src all
clean:
$(MAKE) -C src clean
install: hackvr hackvr_term
$(MAKE) -C src install
cp -r bin/ $(PREFIX)/
cp -r share/hackvr/ $(PREFIX)/share/
uninstall:
## we'll assume PREFIX is set to the hackvr we want to uninstall
$(MAKE) -C src uninstall
rm -rf $(PREFIX)/share/hackvr
|