Adding support for cross-compilation in powerdebug Makefile.

diff --git a/Makefile b/Makefile
index 2da9d67..d7c5394 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,8 @@ BINDIR=/usr/sbin
 MANDIR=/usr/share/man/man8

 CFLAGS?=-O1 -g -Wall -Wshadow
-CC?=gcc
+LD     = $(CROSS_COMPILE)ld
+CC     = $(CROSS_COMPILE)gcc

 OBJS = powerdebug.o sensor.o clocks.o regulator.o gpio.o \
        display.o tree.o utils.o mainloop.o



​--​

-Meraj