diff --git a/Makefile b/Makefile index 3401f34..1feeb3e 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ DEBUG=0 PREFIX=/usr/local INCFLAGS=`pkg-config x11 --cflags` LDFLAGS=`pkg-config x11 --libs` +DEFS=-DVERSION=\"1.0\" CFLAGS=$(INCFLAGS) -std=c99 -Wall -Wextra -Wfatal-errors -Werror HDRS= OBJS=src/main.o @@ -35,10 +36,13 @@ endif tinyclip: $(OBJS) $(CC) -o $@ $^ $(LDFLAGS) -.PHONY: clean install +.PHONY: clean distclean install clean: $(RM) $(OBJS) +distclean: clean + $(RM) tinyclip + install: tinyclip install -m 755 tinyclip $(PREFIX)/bin/