Skip to content
Snippets Groups Projects
Commit 50fd8fc1 authored by rswindell's avatar rswindell
Browse files

Fixed typo in SBBSMONO target dependencies.

Added implicit C compile rule for .o files in exe output directory.
parent bd68424f
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# For use with GNU make and GNU C Compiler # # For use with GNU make and GNU C Compiler #
# @format.tab-size 4, @format.use-tabs true # # @format.tab-size 4, @format.use-tabs true #
# # # #
# Linux: make -f Makefile.gnu # # Linux: gmake #
# FreeBSD: make -f Makefile.gnu os=freebsd # # FreeBSD: gmake os=freebsd #
# # # #
# Optional build targets: dlls, utils, mono, all (default) # # Optional build targets: dlls, utils, mono, all (default) #
######################################################################### #########################################################################
...@@ -69,6 +69,10 @@ include sbbsdefs.mak # defines $(SBBSDEFS) ...@@ -69,6 +69,10 @@ include sbbsdefs.mak # defines $(SBBSDEFS)
SBBSLIB = $(LIBODIR)/sbbs.a SBBSLIB = $(LIBODIR)/sbbs.a
# Implicit C Compile Rule for utils
$(EXEODIR)/%.o : %.c
@echo Compiling $<
@$(CC) $(CFLAGS) -c $< -o $@
# Implicit C Compile Rule for SBBS # Implicit C Compile Rule for SBBS
$(LIBODIR)/%.o : %.c $(LIBODIR)/%.o : %.c
...@@ -92,7 +96,7 @@ FTP_OBJS = $(LIBODIR)/ftpsrvr.o ...@@ -92,7 +96,7 @@ FTP_OBJS = $(LIBODIR)/ftpsrvr.o
MAIL_OBJS = $(LIBODIR)/mailsrvr.o $(LIBODIR)/mxlookup.o $(LIBODIR)/mime.o MAIL_OBJS = $(LIBODIR)/mailsrvr.o $(LIBODIR)/mxlookup.o $(LIBODIR)/mime.o
SERVICE_OBJS= $(LIBODIR)/services.o SERVICE_OBJS= $(LIBODIR)/services.o
MONO_OBJS = $(CON_OJBS) $(FTP_OBJS) $(MAIL_OBJS) $(SERVICE_OBJS) MONO_OBJS = $(CON_OBJS) $(FTP_OBJS) $(MAIL_OBJS) $(SERVICE_OBJS)
# Monolithic Synchronet executable Build Rule # Monolithic Synchronet executable Build Rule
$(SBBSMONO): $(MONO_OBJS) $(OBJS) $(LIBS) $(LIBODIR)/ver.o $(SBBSMONO): $(MONO_OBJS) $(OBJS) $(LIBS) $(LIBODIR)/ver.o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment