blob: 5d3118efa353801afadb131a8066996071235ea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
CC=gcc
CFLAGS=-g -Wall -I/usr/include/libnl3
LDFLAGS=-lnl-genl-3 -lnl-3
DEPS = thermal.h
all: thermal-cmd thermal-sampling thermal-event
thermal-cmd: thermal-cmd.c $(DEPS)
$(CC) $< $(CFLAGS) -o $@ $(LDFLAGS)
thermal-sampling: thermal-sampling.c $(DEPS)
$(CC) $< $(CFLAGS) -o $@ $(LDFLAGS)
thermal-event: thermal-event.c $(DEPS)
$(CC) $< $(CFLAGS) -o $@ $(LDFLAGS)
|