1 ######################################################
3 # To compile cpumoncc for a different OS/architecture you
4 # will need to modify the variablese below to match your system.
6 # For system wide installation type (as root):
10 # This will install the static library in $(LIBINSTALL) and
11 # the header files in $(HINSTALL)/cpumoncc.
13 #####################################################
20 #####################################################
24 $(TARGET
): CpuMonitor.o
27 CpuMonitor.o
: copy_base
30 cp ..
/base
/BaseCpuMonitor.h .
33 mkdir
-p
$(HINSTALL
)/cpumoncc
34 cp
*.h
$(HINSTALL
)/cpumoncc
35 install -m
644 $(TARGET
) $(LIBINSTALL
)
38 rm -f
*~ core
*.o cpu
$(TARGET
) BaseCpuMonitor.h
39 rm -fr
$(HINSTALL
)/cpumoncc
40 rm -f
$(LIBINSTALL
)/$(TARGET
)