13 lines
245 B
Makefile
13 lines
245 B
Makefile
CROSS_COMPILE ?=
|
|
CC := $(CROSS_COMPILE)gcc
|
|
CFLAGS += -g -O2 -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)
|