summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 97fdc3aca2a86c87ef2425d99fa4771c6585d371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include config.mk
PREFIX?=/usr/local
DESTDIR?=

all:
	cd src && ${MAKE} all

static:
	cd src && ${MAKE} static

allusb:
	cd src && ${MAKE} allusb

clean:
	cd src && ${MAKE} clean

install:
	mkdir -p ${DESTDIR}${PREFIX}/bin
	cp src/0xFFFF ${DESTDIR}${PREFIX}/bin

deinstall:
	rm -f ${DESTDIR}${PREFIX}/bin/0xFFFF