2021-05-19 09:43:30 +08:00
|
|
|
CROSS_COMPILE ?=
|
|
|
|
CC := $(CROSS_COMPILE)gcc
|
2022-09-20 10:26:34 +08:00
|
|
|
CFLAGS += -g -Os -Wall -L../libini -I../libini -fno-builtin
|
2021-08-05 11:22:18 +08:00
|
|
|
LIB += -lini -static
|
2021-05-19 09:43:30 +08:00
|
|
|
BIN = reboot_temperature
|
|
|
|
|
|
|
|
all: reboot_temperature.o
|
|
|
|
$(CC) $(CFLAGS) $^ -o $(BIN) $(LIB)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf *.o
|
|
|
|
rm $(BIN)
|