Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment