summaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-25 01:50:06 -0500
committermidipix <writeonce@midipix.org>2018-12-25 01:53:27 -0500
commit10d3bc93cae34adeb2c8736a15126f28fb2fdc50 (patch)
tree43bd28856e526d11d1aab6826c00da56ff768175 /Makefile.in
parent6883343e82aa78b108dbf0d7779562b8bf34d51e (diff)
downloadperk-10d3bc93cae34adeb2c8736a15126f28fb2fdc50.tar.bz2
perk-10d3bc93cae34adeb2c8736a15126f28fb2fdc50.tar.xz
build system: create the ``build'' directory via the dirs.tag make target.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index e91fe9e..01d7caa 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -254,6 +254,7 @@ $(STATIC_APP): $(STATIC_OBJS) $(APP_OBJS)
dirs: dirs.tag
dirs.tag:
+ mkdir -p build
mkdir -p bin
mkdir -p lib
touch dirs.tag
@@ -262,7 +263,7 @@ host.tag: Makefile
$(CC) $(CFLAGS) -dumpmachine > host.tmp
mv host.tmp host.tag
-version.tag: $(GIT_REFERENCE_INDEX)
+version.tag: $(GIT_REFERENCE_INDEX) dirs.tag
$(PROJECT_DIR)/sysinfo/version.sh \
-s $(SOURCE_DIR) \
-o build/$(PACKAGE)_version.h \