summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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