aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: efcb4594097c0ee91f0b374d3f4cc79d6de42448 (plain)
1
2
3
4
5
6
7
8
9
10
11
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) $<

debug.h: generate_debug_h.sh debug.c
	./generate_debug_h.sh > debug.h.new
	mv debug.h.new debug.h