Skip to content
Snippets Groups Projects
Commit 8bbf6c42 authored by rswindell's avatar rswindell
Browse files

Fixed capitalization of CVS Id keyword [sigh]

Import libraries (e.g. sbbs.a) are put in the output directory along with the .o files.
parent 6e2a0640
No related branches found
No related tags found
No related merge requests found
# Makefile.gnu
#########################################################################
# Makefile for Synchronet BBS #
# For use with GNU make and GNU C Compiler #
# @format.tab-size 4 #
#########################################################################
# $id$
# $Id$
# Macros
DEBUG = 1 # Comment out for release (non-debug) version
......@@ -31,6 +33,8 @@ FTPSRVR = $(ODIR)/ftpsrvr.dll
MAILSRVR= $(ODIR)/mailsrvr.dll
SBBSLIB = $(ODIR)/sbbs.a
ALL: $(ODIR) $(SBBS) $(FTPSRVR) $(MAILSRVR)
include objects.mak # defines $(OBJS)
......@@ -53,15 +57,15 @@ $(ODIR):
# SBBS DLL Link Rule
$(SBBS): $(OBJS) $(ODIR)/ver.o
$(LD) $(LFLAGS) -o $@ $^ $(LIBS) --output-lib sbbs.a
$(LD) $(LFLAGS) -o $@ $^ $(LIBS) --output-lib $(SBBSLIB)
# FTP Server DLL Link Rule
$(FTPSRVR): $(ODIR)/ftpsrvr.o
$(LD) $(LFLAGS) -o $@ $^ $(LIBS) sbbs.a --output-lib ftpsrvr.a
$(FTPSRVR): $(ODIR)/ftpsrvr.o $(SBBSLIB)
$(LD) $(LFLAGS) -o $@ $^ $(LIBS) --output-lib $(ODIR)/ftpsrvr.a
# Mail Server DLL Link Rule
$(MAILSRVR): $(ODIR)/mailsrvr.o $(ODIR)/mxlookup.o
$(LD) $(LFLAGS) -o $@ $^ $(LIBS) sbbs.a --output-lib mailsrvr.a
$(MAILSRVR): $(ODIR)/mailsrvr.o $(ODIR)/mxlookup.o $(SBBSLIB)
$(LD) $(LFLAGS) -o $@ $^ $(LIBS) --output-lib $(ODIR)/mailsrvr.a
# Specifc Compile Rules
$(ODIR)/ftpsrvr.o: ftpsrvr.c ftpsrvr.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment