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