2
0

Makefile 311 B

1234567891011121314151617181920212223
  1. SUBDIRS = tools fw fpga
  2. all clean spotless :
  3. $(MAKE) local.$@ $(SUBDIRS) goal=$@
  4. .PHONY: $(SUBDIRS)
  5. $(SUBDIRS):
  6. $(MAKE) -C $@ $(goal)
  7. fw: tools
  8. fpga: fw
  9. local.all:
  10. local.clean:
  11. rm -f *~ ./\#* \# *.bak
  12. local.spotless: local.clean
  13. # FPGA-specific targets
  14. program flash signalclean:
  15. $(MAKE) -C fpga $@