2
0

Makefile 230 B

12345678910111213141516171819
  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 *~ ./\#*
  12. local.spotless: local.clean