Makefile 1.0 KB

1234567891011121314151617181920212223242526272829
  1. j1.mem j1.bin: *.fs Makefile
  2. @echo ': version s" '`svnversion`'" ;' > version.fs
  3. date
  4. @date +': builddate d# %s. d# %z ;' >> version.fs
  5. @gforth -e 'include main.fs bye'
  6. doc: *.fs Makefile
  7. gforth -e 'include ../../docforth/docforth.fs s" document.fs" document bye'
  8. mkdir -p html
  9. mv *.html html
  10. # PRGDIR=$(HOME)/wge100_firmware/trunk/synth/programming_files/latest
  11. PRGDIR=../hardware/synth/programming_files/latest
  12. wge100_ip_camera.bit: $(PRGDIR)/wge100.bit j1.mem $(PRGDIR)/wge100_bd.bmm
  13. (. /opt/Xilinx/11.1/ISE/settings32.sh ; data2mem -bm $(PRGDIR)/wge100_bd.bmm -bd j1.mem tag jram -bt $(PRGDIR)/wge100.bit -o b wge100_ip_camera.bit )
  14. wge100_ip_camera.mcs: wge100_ip_camera.bit
  15. (. /opt/Xilinx/11.1/ISE/settings32.sh ; linux32 promgen -w -p mcs -c FF -o wge100_ip_camera.mcs -u 0 wge100_ip_camera.bit >/dev/null )
  16. defines_tcpip.fs defines_tcpip2.fs: genoffsets.py defines*py
  17. python genoffsets.py
  18. download: j1.mem
  19. ./send
  20. sudo python listenterminal.py
  21. bundle: j1.bin wge100_ip_camera.mcs
  22. cp j1.bin wge100_ip_camera.mcs tools/*.py $(HOME)/bundle