# a52 (c) 1988-always Jan Panteltje
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.





CFLAGS = -O  

.c.o:
	gcc $(CFLAGS) -c $<

OBJECT = a52.o a52l.o a52s.o


LIBRARY =

a.out : $(OBJECT)
	gcc -o a52  $(OBJECT) $(LIBRARY)
		
# DEPENDENCIES

a52.o : a52.c a52.h
a52l.o : a52l.c a52.h
a52s.o : a52s.c a52.h

install:
	strip a52
	cp -i a52 /usr/local/bin/
	cp -i a52.n /usr/man/man1/a52.1

clean:
	rm *.o


