Skip to content

Commit

Permalink
Fix generation of mconfig.h
Browse files Browse the repository at this point in the history
  • Loading branch information
davmac314 committed Jan 17, 2021
1 parent 599ff59 commit 72bfad1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
-include ../mconfig
-include version.conf

all: ../mconfig includes/mconfig.h

# Look for a suitable build config file and use it.
Expand Down
2 changes: 1 addition & 1 deletion build/tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ HOSTCXX ?= $(CXX)
HOSTCXXFLAGS ?= $(CXXFLAGS)
HOSTLDFLAGS ?= $(LDFLAGS)

mconfig-gen: mconfig-gen.cc ../../mconfig
mconfig-gen: mconfig-gen.cc
$(HOSTCXX) $(HOSTCXXOPTS) -o mconfig-gen mconfig-gen.cc $(HOSTLDFLAGS)

0 comments on commit 72bfad1

Please sign in to comment.