From 85bdc136388b07d039610df97362f07fe6529e2c Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 1 Apr 2016 16:45:09 +0600 Subject: Crude support for building on non-x86 architectures. Right now the CPUID procedure is made to return zeroes on non-x86 platforms through conditional compilation. A cleaner solution would be to use separate procedures and specify implementation through gprbuild directives. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9893b1a..783d4f3 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,8 @@ BINDIR = bin BUILD_DIR = build +CONFIG = config.def + DESTDIR = "" GPRBUILD = gprbuild @@ -51,6 +53,7 @@ clean: $(GPRCLEAN); \ rm -rf $(BUILD_DIR);\ fi + rm -f $(CONFIG) install: $(INSTALL) -d $(DESTDIR)/$(PREFIX)/$(BINDIR) -- cgit v1.2.3