aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPA4WDH2023-05-20 17:17:43 +0200
committerPA4WDH2023-05-20 17:17:43 +0200
commit15d9095122c0d4f9a4dab05fb0e84d84c624e1b4 (patch)
treec6edcc0b2efe1dc68577d57de9de74ae4bf8cdd4 /Makefile
parentInitial commit, POC shell script (diff)
downloadcputemp2maxfreq-15d9095122c0d4f9a4dab05fb0e84d84c624e1b4.tar.gz
cputemp2maxfreq-15d9095122c0d4f9a4dab05fb0e84d84c624e1b4.tar.bz2
cputemp2maxfreq-15d9095122c0d4f9a4dab05fb0e84d84c624e1b4.zip
Translate POC to C code0.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4c968ee
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+cputemp2maxfreq: debug.o sysfs.o cpufreq.o
+
+%.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