1 2 3 4 5 6 7 8 9 10
LDFLAGS=-lftdi bitbang: bitbang.o soft_uart.o $(CC) $(LDFLAGS) -o $@ $^ clean: rm -f bitbang bitbang.o soft_uart.o %: %.o $(CC) $(LDFLAGS) -o $@ $^