diff options
author | Tim Segers <tsegers@pm.me> | 2022-10-05 00:12:06 +0200 |
---|---|---|
committer | Tim Segers <tsegers@pm.me> | 2022-10-05 22:00:40 +0200 |
commit | 1f2a309ea070d08f59821357f3b8690c954503a0 (patch) | |
tree | 9e340a5d9ae7128bdc6b94c1746925b572bd2992 /Makefile | |
parent | 5aab2fa8558dc9053eff79a3578854ba44f65b76 (diff) | |
download | opendeco-1f2a309ea070d08f59821357f3b8690c954503a0.tar.gz |
Add command line interface
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,8 +1,10 @@ +VERSION=\"$(shell git describe --tags --dirty)\" + opendeco: opendeco.c deco.c deco.h schedule.c schedule.h output.c output.h - gcc --std=c99 -pedantic -Wall -Werror -O3 -lm opendeco.c deco.c schedule.c output.c -o opendeco + gcc --std=c99 -pedantic -Wall -Werror -O3 -lm -DVERSION=${VERSION} opendeco.c deco.c schedule.c output.c -o opendeco run: opendeco - ./opendeco + ./opendeco -d 30 -t 120 -g EAN32 --decogasses EAN50 clean: rm opendeco |