summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-11 11:33:12 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-11 11:33:12 (EST)
commiteea92af9bcf4c680eaf821f22a20d086318682e0 (patch)
treeb4b0856c716c99f3aee72a17673cccc07539e8c9
parentf61216414a9e2d00c7b7afaaedb498574f6f805a (diff)
downloadlibreboot-eea92af9bcf4c680eaf821f22a20d086318682e0.zip
libreboot-eea92af9bcf4c680eaf821f22a20d086318682e0.tar.gz
libreboot-eea92af9bcf4c680eaf821f22a20d086318682e0.tar.bz2
i945-pwm: add clean command to Makefile
-rwxr-xr-xbuilddeps-i945pwm1
-rw-r--r--resources/utilities/i945-pwm/Makefile3
2 files changed, 4 insertions, 0 deletions
diff --git a/builddeps-i945pwm b/builddeps-i945pwm
index 4f64f04..7eb5479 100755
--- a/builddeps-i945pwm
+++ b/builddeps-i945pwm
@@ -25,6 +25,7 @@ set -u -e -v
cd resources/utilities/i945-pwm/
+make clean
# build it
make
diff --git a/resources/utilities/i945-pwm/Makefile b/resources/utilities/i945-pwm/Makefile
index cd63a92..7a0a882 100644
--- a/resources/utilities/i945-pwm/Makefile
+++ b/resources/utilities/i945-pwm/Makefile
@@ -2,3 +2,6 @@ CFLAGS ?= -O2 -Wall -W -ggdb
i945-pwm: i945-pwm.c
$(CC) -std=gnu99 $(CFLAGS) $(LDFLAGS) -o $@ $< -lpci -lz
+
+clean:
+ rm -f i945-pwm