honeywell-config/Makefile
s3lph 4d9be10dd9
All checks were successful
/ build_debian (push) Successful in 19s
feat: add -c, -V, add manpage
2024-11-30 21:39:50 +01:00

17 lines
359 B
Makefile

CC := gcc
REVISION != git rev-list --count HEAD
CCFLAGS := -D_VERSION='"'0.$(REVISION)'"' -Wall -Werror
LIB := -lusb-1.0
.PHONY: honeywell-config debug clean
honeywell-config:
$(CC) $(CCFLAGS) -o honeywell-config honeywell-config.c $(LIB)
debug:
$(CC) $(CCFLAGS) -O0 -ggdb3 -o honeywell-config honeywell-config.c $(LIB)
clean:
rm -f honeywell-config