diff options
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 |