diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-27 06:36:42 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-27 06:36:42 +0100 |
commit | 25dc4cf23f281ae651f41ccb8e8c7077e6c3da80 (patch) | |
tree | e76a3be4a9e9044571e241d26b38af13e6d76bf8 /Makefile | |
parent | info manual (diff) | |
download | xpybar-25dc4cf23f281ae651f41ccb8e8c7077e6c3da80.tar.gz xpybar-25dc4cf23f281ae651f41ccb8e8c7077e6c3da80.tar.bz2 xpybar-25dc4cf23f281ae651f41ccb8e8c7077e6c3da80.tar.xz |
add HDPARM_PATH
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,6 +11,7 @@ INFODIR = $(DATADIR)/info LICENSEDIR = $(DATADIR)/licenses PY3_SHEBANG = "/usr/bin/env python3" +HDPARM_PATH = /usr/sbin/hdparm COMMAND = xpybar PKGNAME = xpybar @@ -78,7 +79,7 @@ bin/restricted-hdparm: obj/restricted-hdparm.o $(CC) -std=c89 -Ofast $(WARN) -o $@ $^ obj/%.o: src/%.c - $(CC) -std=c89 -Ofast $(WARN) -c -o $@ $< + $(CC) -std=c89 -Ofast $(WARN) -c -o $@ $< -D'HDPARM_PATH="$(HDPARM_PATH)"' .PHONY: doc doc: info pdf dvi ps |