reboot_temperature/Makefile

13 lines
279 B
Makefile
Raw Permalink Normal View History

2021-05-19 09:43:30 +08:00
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
2023-04-06 16:04:45 +08:00
CFLAGS += -Wall -Os -g -L../libini -I../libini -fno-builtin
LIB += -Wl,-rpath,/root/libini/ /root/libini/libini.so
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)