Commit 8751fbc9 authored by deuce's avatar deuce
Browse files

Add Common.make and update Common.gmake to allow inclusion for libsbbs

dependencies.
parent f314a742
......@@ -4,14 +4,16 @@
#
# Available options:
SBBS_SRC ?= $(XPDEV)/../sbbs3
CFLAGS += -I$(SBBS_SRC)
JS_CFLAGS += -DJAVASCRIPT
vpath %.c $(SBBS_SRC)
vpath %.cpp $(SBBS_SRC)
SBBS_SRC ?= $(SRC_ROOT)/sbbs3
SBBS_CFLAGS += -I$(SBBS_SRC)
SBBSDEFS :=
-include sbbsdefs.mk # defines $(SBBSDEFS)
MT_CFLAGS += $(SBBSDEFS)
SBBS_CFLAGS += $(SBBSDEFS)
SBBS_LDFLAGS += -L$(SBBS_SRC)/$(LIBODIR)
SBBSLIBS += -lsbbs
$(SBBS):
$(MAKE) -C $(SBBS_SRC) $(LIBODIR)$(DIRSEP)$(LIBPREFIX)sbbs$(SOFILE)
# Available Options:
SBBS = $(SBBS_SRC)$(DIRSEP)$(LIBODIR)$(DIRSEP)$(LIBPREFIX)sbbs$(SOFILE)
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