Commit fb44a8a6 authored by Marc Ariberti's avatar Marc Ariberti

* Enhanced Makefile, better tarball generation and version number handling

parent bade5724
......@@ -2,13 +2,18 @@
# vlcs (VideoLAN Channel Server) main Makefile - (c)2001 VideoLAN
###############################################################################
VERSION=0.1.2
all: vlcs
vlcs: vlcs.c vlcs.h
$(CC) -O3 -g -I. -Wall -o $@ vlcs.c
tar:
tar cvzf vlcs.tar.gz vlcs.c vlcs.h vlcs.conf Makefile README COPYING
tar: all
mkdir miniVLCS-$(VERSION)
cp vlcs.c vlcs.h vlcs.conf Makefile README COPYING miniVLCS-$(VERSION)
tar cvzf miniVLCS-$(VERSION).tar.gz miniVLCS-$(VERSION)
rm -rf miniVLCS-$(VERSION)
clean:
-rm -f vlcs
-rm -f vlcs *.tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment