reboot_temperature/Makefile

13 lines
279 B
Makefile

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