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:
18
Makefile
Normal file
18
Makefile
Normal 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
|
Reference in New Issue
Block a user