blob: 43f137cd35a880b52186f9bec5864457414ddbd7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
VERSION=\"$(shell git describe --tags --dirty)\"
PREFIX = /usr/local
all: opendeco
opendeco: opendeco.c deco.c deco.h schedule.c schedule.h output.c output.h
gcc --std=c99 -pedantic -Wall -Werror -O3 -DVERSION=${VERSION} opendeco.c deco.c schedule.c output.c -lm -o opendeco
run: opendeco
./opendeco -d 30 -t 120 -g EAN32 --decogasses EAN50
install: all
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f opendeco ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/opendeco
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/opendeco
clean:
rm opendeco
|