diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-06-25 15:59:26 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-06-25 15:59:26 +0200 |
commit | 13b40ef43026bd1665c993e4bb21a7305b34da9e (patch) | |
tree | 73359f02d57480cc7cf8d609609ef4a53522e807 | |
parent | 547c229284f3fa0e5e8ef4640a4a83eabe75cd52 (diff) | |
download | cpuburn-arm-13b40ef43026bd1665c993e4bb21a7305b34da9e.tar.gz cpuburn-arm-13b40ef43026bd1665c993e4bb21a7305b34da9e.tar.xz |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6e50856 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +PREFIX := /usr/local/bin + +CC := $(CROSS_COMPILE)gcc + +CFLAGS += -O2 -g -Wall + +BINS := \ + cpuburn-a7 \ + cpuburn-a8 \ + cpuburn-a9 + +all: $(BINS) + +$(BINS): %: %.S + $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^ + +install: + mkdir -p $(DESTDIR)$(PREFIX) + install -m 755 $(BINS) $(DESTDIR)$(PREFIX) + +clean: + rm -rf $(BINS) + +.PHONY: install clean |