reboot_temperature/Makefile
2021-05-19 09:43:30 +08:00

13 lines
244 B
Makefile

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)