# TOP LEVEL Makefile for lx-rocon # 1) SW (match rocon config) CROSS_COMPILE ?= arm-elf-gcc .PHONY: all all: post .PHONY: sw sw: make -C sw V=1 .PHONY: host host: make -C host V=1 .PHONY: hw hw: make -C hw .PHONY: post post: sw hw host rm -rf _build mkdir _build cp -a hw/_build/lx-rocon.bin _build/ cp -a host/_compiled/bin/rocon_cmd _build/ cp -a host/_compiled/bin/usb_sendhex _build/ cp -a sw/_compiled/bin/rocon-app.bin _build/ cp -a sw/_compiled/bin/rocon-sdram.bin _build/ .PHONY: clean clean: make -C sw clean make -C host clean make -C hw clean