honeywell-config/Makefile

18 lines
359 B
Makefile
Raw Normal View History

2024-11-25 23:10:11 +01:00
2024-11-30 21:39:50 +01:00
CC := gcc
REVISION != git rev-list --count HEAD
CCFLAGS := -D_VERSION='"'0.$(REVISION)'"' -Wall -Werror
LIB := -lusb-1.0
.PHONY: honeywell-config debug clean
2024-11-25 23:10:11 +01:00
honeywell-config:
2024-11-30 21:39:50 +01:00
$(CC) $(CCFLAGS) -o honeywell-config honeywell-config.c $(LIB)
2024-11-25 23:10:11 +01:00
debug:
2024-11-30 21:39:50 +01:00
$(CC) $(CCFLAGS) -O0 -ggdb3 -o honeywell-config honeywell-config.c $(LIB)
2024-11-25 23:10:11 +01:00
clean:
rm -f honeywell-config