aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 335d067..efcb459 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,7 @@
-cputemp2maxfreq: debug.o sysfs.o cpufreq.o failsafe.o
+cputemp2maxfreq: version.h debug.o sysfs.o cpufreq.o failsafe.o
+
+version.h: generate_version_h.sh .git/index
+ ./generate_version_h.sh > version.h
%.o: %.c %.h debug.h
$(COMPILE.c) $(OUTPUT_OPTION) $<