CROSS_COMPILE ?= CC := $(CROSS_COMPILE)gcc CFLAGS += -O2 -g -Wall OBG = rhost all: rhost.o $(CC) $(CFLAGS) $^ -o $(OBG) clean: rm -rf *.o rm $(OBG)