################################################################################
# Master Makefile for TMS Sources
# T.Barnaby, BEAM Ltd, 2006-12-07
################################################################################
#
TOP = ${shell pwd}
include ${TOP}/Makefile.config
.PHONY: all install clean includes depend
all:
install:
mkdir -p ${FPGADIR}
cp -a *.bit ${FPGADIR}
clean:
includes:
depend:
rpms: clean tms-fpga.spec
ln -sf tms-fpga-$(VERSION).bit tms-fpga.bit
tar -czC .. -f ${RPM_DIR}/SOURCES/tms-fpga.tar.gz tms-fpga
rpmbuild -bb tms-fpga.spec
rpmsInstall:
cp ${RPM_DIR}/RPMS/noarch/tms-fpga-$(VERSION)-$(RELEASE)*.rpm ${DEST_DIR}/packages