1
0
mirror of https://github.com/UzixLS/zx-sizif-xxs.git synced 2025-07-19 07:11:28 +03:00

add Makefile

This commit is contained in:
UzixLS
2021-11-18 20:40:49 +03:00
parent 93bf6fc638
commit e46661b43e

18
Makefile Normal file
View File

@ -0,0 +1,18 @@
OUTDIR=out_new
all:
mkdir -p ${OUTDIR}/
${MAKE} build_rev REV=A
build_rev:
${MAKE} -C rom_src/ REV=${REV} clean all
${MAKE} -C rom/ REV=${REV} clean all
${MAKE} -C fpga/syn/ REVISION=rev_${REV} clean build sof2jic
cp fpga/syn/output/rev_${REV}.jic ${OUTDIR}/rev_${REV}.jic
clean:
rm -f "${OUTDIR}"
${MAKE} -C fpga/syn/ clean
${MAKE} -C fpga/tb/ clean
${MAKE} -C rom_src/ clean
${MAKE} -C rom/ clean