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