CFLAGS=-D`uname -m`
OBJS=main.o  serial.o

all:485

485: $(OBJS)
	gcc -o 485 $(OBJS)

%.o: %.c
	gcc $(CFLAGS) -o $@ -c $<  

clean:
	rm -rf *.o 485
