# $Id: Makefile,v 1.6 2001/01/25 08:52:35 ralf Exp $
# make all: build MNGVideo.o, libMNGVideo.a
# make check: build test apps

SWARMHOME=/home/ralf/mng-swarm
LIBNAME=MNGVideo
MAPPDIR=$(LIBNAME)-0.1
SOURCES=MNGVideo.m mngutil.c
OBJECTS=MNGVideo.o mngutil.o
HEADERS=$(addsuffix .h, $(basename $(OBJECTS)))
APPS=NaSch-single

include $(SWARMHOME)/etc/swarm/Makefile.lib

check: $(OBJECTS)
	for d in $(APPS); do make -f Makefile.$$d; done
	@echo --------------------------------------
	@echo The following test apps were built without errors:
	@echo $(APPS)

tarball:
	rm -rf $(MAPPDIR)
	mkdir $(MAPPDIR)
	cp $(SOURCES) $(HEADERS) $(MAPPDIR)
	for d in $(APPS); do make ARC=$(MAPPDIR) -f Makefile.$$d archive ; done
	-cp Makefile README COPYING ChangeLog $(APPLICATION).texinfo $(MAPPDIR)
	-cp $(APPLICATION)*.html $(APPLICATION).dvi $(APPLICATION).info $(MAPPDIR)
	tar cvfz $(MAPPDIR).tar.gz $(MAPPDIR)
	rm -rf $(MAPPDIR)

# $Log: Makefile,v $
# Revision 1.6  2001/01/25 08:52:35  ralf
# * Makefile: archive submakefiles
#
# Revision 1.5  2001/01/24 17:02:16  ralf
# typo
#
# Revision 1.4  2001/01/24 14:58:47  ralf
# *** empty log message ***
#
# Revision 1.3  2001/01/22 16:17:00  ralf
# * Makefile: switched to Makfile.lib
#
# Revision 1.2  2001/01/22 14:19:59  ralf
# *** empty log message ***
#