summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2016-04-01 16:45:09 +0600
committerDaniil Baturin <daniil@baturin.org>2016-04-01 16:45:09 +0600
commit85bdc136388b07d039610df97362f07fe6529e2c (patch)
tree325d9a17260678dee3e681881c3469c444530c74 /Makefile
parent0e1d26b4cb344dbc9e47ee7cb5a5faa3380c58eb (diff)
downloadhvinfo-85bdc136388b07d039610df97362f07fe6529e2c.tar.gz
hvinfo-85bdc136388b07d039610df97362f07fe6529e2c.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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)