PROG = mbed UART0 = /dev/ttyACM0 UART1 = /dev/ttyACM1 OBJS = main.o serial_irq.o serial_dma.o timer_dma.o CPPFLAGS = LDFLAGS = -lm default: info run control: control.c messages.h gcc -Wall -o $@ $< run: all control install.sh @./install.sh $(PROG).bin @./control $(UART0) 1 @./control $(UART1) 2 sync terms: term /dev/ttyACM0 & term /dev/ttyACM1 & dist: zip mbed.zip makefile ../common.mk *.{c,cpp,h} */*.{cpp,.h} -include ../config.mk -include ../common.mk