Commit eba53d13 authored by rswindell's avatar rswindell
Browse files

Save the make definitions specified on the make command-line (or inferred

from the absence of command-line arguments) to the src/build/localdefs.mk
file.

This insures that incremental builds (e.g. in src/sbbs3) use the same
build type (e.g. debug vs. release) as the intitial install. Unfortuantely
it also means that switching the build type later requires editing or
deleting the localdefs.mk file, which means new instructions for the wiki.
parent c669c36e
......@@ -141,7 +141,10 @@ ifndef NO_GTK
endif
endif
all: binaries baja externals
all: localdefs binaries baja externals
localdefs: src
echo $(MKFLAGS) | tr ' ' '\n' > $(SBBSDIR)/src/build/localdefs.mk
binaries: sbbs3 gtkuseredit gtkchat gtkmonitor gtkuserlist syncview sexpots
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment