Common.gmake 375 Bytes
Newer Older
1 2 3 4 5 6
##########
#
# You really should set SBBS_SRC before calling this.
#
# Available options:

7 8
SBBS_SRC	?=	$(SRC_ROOT)/sbbs3
SBBS_CFLAGS	+=	-I$(SBBS_SRC)
9 10

SBBSDEFS	:=
11
-include sbbsdefs.mk		# defines $(SBBSDEFS)
12 13 14 15 16 17 18 19
SBBS_CFLAGS	+=	$(SBBSDEFS)
SBBS_LDFLAGS	+=	-L$(SBBS_SRC)/$(LIBODIR)

SBBSLIBS	+=	-lsbbs

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