reboot_temperature/Makefile

13 lines
245 B
Makefile
Raw Normal View History

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
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)