2025-03-13 23:20:15 +08:00

13 lines
262 B
Makefile

CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
CFLAGS += -Wall -Os -g -L../libini -I../libini -fno-builtin
LIB += -Wl,-rpath,/root/libini/ ../libini/libini.so
BIN = boot
all: reboot_temperature.o
$(CC) $(CFLAGS) $^ -o $(BIN) $(LIB)
clean:
rm -rf *.o
rm $(BIN)