reboot_temperature/Makefile
2022-09-20 10:26:34 +08:00

13 lines
245 B
Makefile

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