This commit is contained in:
2021-05-19 09:43:30 +08:00
commit 3235a97987
6 changed files with 139 additions and 0 deletions

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
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)