CC = arm-linux-gcc INCS = DEFS = OBJS = LIBS = foo-bar: ${OJBS} $(CC) -o foo-bar ${LIBS} ${OBJS} foo.o: foo.c $(CC) ${DEFS} $(INCS) -c foo.c bar.o: bar.c $(CC) ${DEFS} $(INCS) -c bar.c clean: rm -f foo.c bar.o foo-bar