#****************************************************************************;
#                                                                            ;
#  Makefile  -  project LMP control center                                   ;
#                                                                            ;
#  The program lmpc is a LMP conversion utility                              ;
#                                                                            ;
#  Uwe Girlich                                                               ;
#  Erika-von-Brockdorff-Strasse 2                                            ;
#  04159 Leipzig                                                             ;
#  Deutschland / Germany                                                     ;
#  E-mail: girlich@aix520.informatik.uni-leipzig.de                          ;
#                                                                            ;
#****************************************************************************;

PROJECT=lmpc
V_MAJOR=2
V_MINOR=8
V_REVISION=0

DATE=10/5/95

# the remaining part is the main Makefile for small projects with src dir

VERSION=${V_MAJOR}.${V_MINOR}.${V_REVISION}

all: 
	make -C src PROJECT=${PROJECT} VERSION=${VERSION} DATE=${DATE} $@

clean:
	make -C src PROJECT=${PROJECT} $@

install: all
	install -s -o root -g root -m 755 bin/${PROJECT} /usr/local/bin/${PROJECT}

tar: clean
	strip bin/${PROJECT}
	tar cvf ../${PROJECT}-${VERSION}.tar -C .. `pwd|sed -e 's|.*/||'`

tgz: tar
	gzip -9 ../${PROJECT}-${VERSION}.tar

zip: clean
	strip bin/${PROJECT}
	cd ..; zip -9kr ${PROJECT}${V_MAJOR}${V_MINOR}${V_REVISION}.zip ${PROJECT}-${VERSION}/*

#----------------------------------------- file end Makefile ------------------;
