Skip to content

Commit

Permalink
Added dist target to makefile, bumped version number to 1.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
zevv committed Sep 16, 2016
1 parent 43f6252 commit 545a0a9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 545a0a9

Please sign in to comment.