#-----------------------------------------------------------------------------
# Makefile for vbidecode                                           rb 13.3.99
#-----------------------------------------------------------------------------

# this is where make install will install the executable

BINDIR = /usr/X11R6/bin

PROG   = vbidecode
SRCS   = vbidec-rb.cc

all: $(PROG)

$(PROG): $(SRCS)
	g++ -g -O6 -fomit-frame-pointer -m486 -funroll-loops -o $(PROG) $(SRCS) 

install: $(PROG)
	mkdir -p $(BINDIR)
	install -c $(PROG) $(BINDIR)

uninstall:
	rm -f $(BINDIR)/$(PROG)

clean:
	rm -f $(PROG) *.tgz

dist:
	rm -f $(PROG) *.tgz
	tar cvzf vbidec-rb.tgz *

