From 545a0a96d5574f5561bb907f1ea74c4dd60ed908 Mon Sep 17 00:00:00 2001 From: Ico Doornekamp Date: Fri, 16 Sep 2016 21:42:54 +0200 Subject: [PATCH] Added dist target to makefile, bumped version number to 1.3.6 --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 24dbe3b..8fcd744 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VERSION := 1.3.3 +VERSION := 1.3.6 NAME := buckle SRC := main.c scan-linux.c scan-windows.c scan-mac.c @@ -44,6 +44,12 @@ STRIP = $(CROSS)strip $(BIN): $(OBJS) $(LD) -o $@ $(OBJS) $(LIBS) $(LDFLAGS) +dist: + mkdir -p $(NAME)-$(VERSION) + cp -a *.c *.h wav Makefile LICENSE $(NAME)-$(VERSION) + tar -zcf /tmp/$(NAME)-$(VERSION).tgz $(NAME)-$(VERSION) + rm -rf $(NAME)-$(VERSION) + rec: rec.c gcc -Wall -Werror rec.c -o rec