diff options
author | Daniil Baturin <daniil@baturin.org> | 2016-04-01 17:55:35 +0600 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2016-04-01 17:55:35 +0600 |
commit | ad7cbcd195198e78c2a6e67d5be3db6ffeb2a479 (patch) | |
tree | 8715a33ca2110c62ddd8689956a4cc9d386e748d /Makefile | |
parent | 85bdc136388b07d039610df97362f07fe6529e2c (diff) | |
download | hvinfo-ad7cbcd195198e78c2a6e67d5be3db6ffeb2a479.tar.gz hvinfo-ad7cbcd195198e78c2a6e67d5be3db6ffeb2a479.zip |
Fix conditional build.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -38,7 +38,10 @@ ifdef BUILD_TARGET BUILD_FLAGS = --target=$(BUILD_TARGET) endif -all: src/config.ads hvinfo +all: config.def src/config.ads hvinfo + +config.def: + ./mkdefs.sh src/config.ads: VERSION mkconfig.sh src/config.ads.in GNATPREP=$(GNATPREP) ./mkconfig.sh @@ -54,6 +57,7 @@ clean: rm -rf $(BUILD_DIR);\ fi rm -f $(CONFIG) + rm -f src/config.ads install: $(INSTALL) -d $(DESTDIR)/$(PREFIX)/$(BINDIR) |