CROSS_COMPILE ?= CC := $(CROSS_COMPILE)gcc CFLAGS += -g -Wall -L../libini -I../libini -fno-builtin LIB += -lini -static -g BIN = reboot_temperature all: reboot_temperature.o $(CC) $(CFLAGS) $^ -o $(BIN) $(LIB) clean: rm -rf *.o rm $(BIN)