summaryrefslogtreecommitdiff
path: root/Makefile
blob: 133e497ea5a456b53487a5539d796c61c76081a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Paths
prefix	= $(HOME)
BINDIR	= ${prefix}/bin
DESTDIR	=

CC := gcc
INSTALL := install

CFLAGS := -g -Wall -D_USE_SOURCE

DEBUG = false

ifeq ($(strip $(DEBUG)),true)
	CFLAGS  += -DDEBUG
endif

PROGRAMS := inotail #inotail-old inotify-watchdir simpletail

all: $(PROGRAMS)

inotail: inotail.o

inotail-old: inotail-old.o

inotify-watchdir: inotify-watchdir.o

simpletail: simpletail.o

%.o: %.c
	$(CC) $(CFLAGS) -c $< -o $@

install: inotail
	${INSTALL} -m 775 inotail ${DESTDIR}${BINDIR}

clean:
	rm -f *.o
	rm -f $(PROGRAMS)
.git/commit/drivers?h=packet-loop-back&id=1c59e1edb13d60b97b7b03b332ceed5d967d4227'>1c59e1edb13d60b97b7b03b332ceed5d967d4227 (patch) treed5340c2e7b3682adc190b939aec8666bc3659a56 /drivers parentbb3dd056ed1af9b186f0d9fe849eab78c51d14ce (diff)parent4fccd4a1e8944033bcd7693ea4e8fb478cd2059a (diff)
Merge tag 'hwmon-for-linus-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull hwmon updates from Guenter Roeck: - new drivers for TMP108 and TC654 - hwmon core code cleanup - coretemp driver cleanup - fix overflow issues in several drivers - minor fixes, cleanups and enhancements in various drivers * tag 'hwmon-for-linus-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (41 commits) hwmon: (g762) Fix overflows and crash seen when writing limit attributes hwmon: (emcw201) Fix overflows seen when writing into limit attributes hwmon: (emc2103) Fix overflows seen when temperature limit attributes hwmon: (lm85) Fix overflows seen when writing voltage limit attributes hwmon: (lm87) Fix overflow seen when writing voltage limit attributes hwmon: (nct7802) Fix overflows seen when writing into limit attributes hwmon: (adt7470) Fix overflows seen when writing into limit attributes hwmon: (adt7462) Fix overflows seen when writing into limit attributes hwmon: (adm1026) Fix overflows seen when writing into limit attributes hwmon: (adm1025) Fix overflows seen when writing voltage limits hwmon: (via-cputemp) Convert to hotplug state machine devicetree: hwmon: Add documentation for TMP108 driver. hwmon: Add Texas Instruments TMP108 temperature sensor driver. hwmon: (core) Simplify sysfs attribute name allocation hwmon: (core) Rename groups parameter in API to extra_groups hwmon: (core) Explain why at least two attribute groups are allocated hwmon: (core) Make is_visible callback truly mandatory hwmon: (core) Deprecate hwmon_device_register() hwmon: (core) Clarify use of chip attributes hwmon: (core) Add support for string attributes to new API ...
Diffstat (limited to 'drivers')