Skip to content
Snippets Groups Projects
Common.gmake 375 B
Newer Older
##########
#
# You really should set SBBS_SRC before calling this.
#
# Available options:

SBBS_SRC	?=	$(SRC_ROOT)/sbbs3
SBBS_CFLAGS	+=	-I$(SBBS_SRC)
-include sbbsdefs.mk		# defines $(SBBSDEFS)
SBBS_CFLAGS	+=	$(SBBSDEFS)
SBBS_LDFLAGS	+=	-L$(SBBS_SRC)/$(LIBODIR)

SBBSLIBS	+=	-lsbbs

$(SBBS):
	$(MAKE) -C $(SBBS_SRC) $(LIBODIR)$(DIRSEP)$(LIBPREFIX)sbbs$(SOFILE)